Archived
feat(interface,android): Allow passing an initial locale to the service
This commit is contained in:
1 parent
81e819b4a7
commit
4167227c7b
8 files changed
+25
-11
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user