TestServiceの全体的なリファクタリング #28
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user