TestServiceの全体的なリファクタリング #28
|
@ -123,7 +123,7 @@ public class TestService extends Service {
|
||||||
|
|
||||||
private void createRunningNotificationChannel() {
|
private void createRunningNotificationChannel() {
|
||||||
NotificationChannel serviceChannel = new NotificationChannel(
|
NotificationChannel serviceChannel = new NotificationChannel(
|
||||||
CHANNEL_ID,
|
BACKGROUND_CHANNEL_ID,
|
||||||
"Foreground Service Channel",
|
"Foreground Service Channel",
|
||||||
NotificationManager.IMPORTANCE_DEFAULT
|
NotificationManager.IMPORTANCE_DEFAULT
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user