feat(interface,android): Allow passing an initial locale to the service

This commit is contained in:
2023-09-03 21:57:25 +02:00
parent 81e819b4a7
commit 4167227c7b
8 changed files with 25 additions and 11 deletions

View File

@@ -114,7 +114,7 @@ public class BackgroundService extends Service implements MethodChannel.MethodCa
| (PendingIntent.FLAG_MUTABLE & (aboveS ? PendingIntent.FLAG_MUTABLE : 0))
);
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this, "FOREGROUND_DEFAULT")
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this, "foreground_service")
.setSmallIcon(R.drawable.ic_service_icon)
.setAutoCancel(true)
.setOngoing(true)