通知の重要度を修正
This commit is contained in:
parent
238f32addd
commit
e9b08942c4
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user