diff --git a/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java b/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java index 07d43316..c78df896 100644 --- a/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java +++ b/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java @@ -79,7 +79,7 @@ public class ForegroundServiceContext extends ContextWrapper { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { NotificationChannel channel = new NotificationChannel(notificationChannelID, context.getResources().getString(R.string.notification_service_name), NotificationManager.IMPORTANCE_MIN); - channel.setShowBadge(false); + channel.setShowBadge(true); channel.setLockscreenVisibility(0); channel.setVibrationPattern(new long[0]); context.getSystemService(NotificationManager.class).createNotificationChannel(channel); @@ -90,7 +90,6 @@ public class ForegroundServiceContext extends ContextWrapper { .setContentTitle(context.getResources().getString(R.string.notification_service_title)) .setContentText(context.getResources().getString(R.string.notification_service_content)) .setSmallIcon(R.drawable.ic_foreground_notification) - .setAutoCancel(true) .build(); } }