Skip to content

Commit 48d5b04

Browse files
committed
Remove overlay on back press
1 parent 5de7a9a commit 48d5b04

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/dev/pranav/applock/features/lockscreen/ui/LockScreenOverlayManager.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ class LockScreenOverlayManager(private val context: Context):
145145
flags = Intent.FLAG_ACTIVITY_NEW_TASK
146146
}
147147
context.startActivity(intent)
148+
149+
removeOverlay()
148150
return@setOnKeyListener true
149151
}
150152
false

0 commit comments

Comments
 (0)