Skip to content
Snippets Groups Projects
Commit 0179ab43 authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Fix isDeviceLocked direct boot check

parent 1d05c519
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ fun DialogComposeView.dismiss() {
val Context.isDeviceLocked: Boolean
get() {
if(!isDirectBootUnlocked) return false
if(!isDirectBootUnlocked) return true
val keyguardManager: KeyguardManager? = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment