This commit is contained in:
ろむねこ 2024-07-11 17:01:56 +09:00
parent ebceb27c99
commit 2dcf6808f4
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -133,6 +133,9 @@ public class TestService extends Service {
notificationManager.createNotificationChannel(channel); notificationManager.createNotificationChannel(channel);
} }
/**
* バックグラウンドで実行中の通知チャネルを作成
*/
private void createRunningNotificationChannel() { private void createRunningNotificationChannel() {
NotificationChannel serviceChannel = new NotificationChannel( NotificationChannel serviceChannel = new NotificationChannel(
BACKGROUND_CHANNEL_ID, BACKGROUND_CHANNEL_ID,