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

This commit is contained in:
PapaTutuWawa committed 2023-09-03 21:57:25 +02:00
1 parent 81e819b4a7
commit 4167227c7b
8 files changed
+25 -11

No files matched your search

@@ -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)