mirror of https://github.com/YTVanced/VancedMicroG
Oreo reboot fix
This commit is contained in:
parent
d4c15d3a3a
commit
33daf1be04
|
@ -90,7 +90,6 @@ public class ForegroundServiceContext extends ContextWrapper {
|
||||||
NotificationManager.IMPORTANCE_LOW);
|
NotificationManager.IMPORTANCE_LOW);
|
||||||
Channel.setShowBadge(false);
|
Channel.setShowBadge(false);
|
||||||
Channel.setLockscreenVisibility(0);
|
Channel.setLockscreenVisibility(0);
|
||||||
Channel.setVibrationPattern(new long[0]);
|
|
||||||
context.getSystemService(NotificationManager.class).createNotificationChannel(Channel);
|
context.getSystemService(NotificationManager.class).createNotificationChannel(Channel);
|
||||||
}
|
}
|
||||||
return new NotificationCompat.Builder(context, "foreground-service")
|
return new NotificationCompat.Builder(context, "foreground-service")
|
||||||
|
|
Loading…
Reference in New Issue