Oreo reboot fix

This commit is contained in:
Oizaro 2020-10-22 03:40:34 +02:00
parent d4c15d3a3a
commit 33daf1be04
1 changed files with 0 additions and 1 deletions

View File

@ -90,7 +90,6 @@ public class ForegroundServiceContext extends ContextWrapper {
NotificationManager.IMPORTANCE_LOW);
Channel.setShowBadge(false);
Channel.setLockscreenVisibility(0);
Channel.setVibrationPattern(new long[0]);
context.getSystemService(NotificationManager.class).createNotificationChannel(Channel);
}
return new NotificationCompat.Builder(context, "foreground-service")