mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-02-02 22:17:31 +01:00
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…
x
Reference in New Issue
Block a user