通知の重要度を修正

This commit is contained in:
ろむねこ 2024-07-11 16:35:02 +09:00
parent 238f32addd
commit e9b08942c4
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -125,7 +125,7 @@ public class TestService extends Service {
NotificationChannel serviceChannel = new NotificationChannel( NotificationChannel serviceChannel = new NotificationChannel(
BACKGROUND_CHANNEL_ID, BACKGROUND_CHANNEL_ID,
"Foreground Service Channel", "Foreground Service Channel",
NotificationManager.IMPORTANCE_DEFAULT NotificationManager.IMPORTANCE_NONE
); );
NotificationManager manager = getSystemService(NotificationManager.class); NotificationManager manager = getSystemService(NotificationManager.class);
if (manager != null) { if (manager != null) {