TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit 2dcf6808f4 - Show all commits

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,