mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
fix: set ongoing true for lock task mode exit notification
This commit is contained in:
@@ -47,6 +47,7 @@ class LockTaskService: Service() {
|
||||
.setContentTitle(getText(R.string.lock_task_mode))
|
||||
.setSmallIcon(R.drawable.lock_fill0)
|
||||
.addAction(NotificationCompat.Action.Builder(null, getString(R.string.stop), pendingIntent).build())
|
||||
.setOngoing(true)
|
||||
.build()
|
||||
ServiceCompat.startForeground(
|
||||
this, NotificationType.LockTaskMode.id, notification,
|
||||
|
||||
Reference in New Issue
Block a user