Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 6dcffc0

Browse files
committed
fix: protect PasswordDialog window
1 parent d68958c commit 6dcffc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class PasswordDialog : DialogFragment() {
4848
false
4949
}
5050
}
51+
dialog.window?.setFlags(
52+
WindowManager.LayoutParams.FLAG_SECURE,
53+
WindowManager.LayoutParams.FLAG_SECURE,
54+
)
5155
return dialog
5256
}
5357

0 commit comments

Comments
 (0)