diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 19:56:11 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 19:56:11 +0530 |
commit | 6dcffc04d21a612842191f058968315468ac8226 (patch) | |
tree | 3eb4d62d675902e436919bb5d99c789c21fb3356 /app/src/main | |
parent | d68958c3e145b8f0591098db5e50adc6e2a8d0c6 (diff) |
fix: protect `PasswordDialog` window
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt b/app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt index 958ce0c1..1ae90da3 100644 --- a/app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt +++ b/app/src/main/java/app/passwordstore/ui/crypto/PasswordDialog.kt @@ -48,6 +48,10 @@ class PasswordDialog : DialogFragment() { false } } + dialog.window?.setFlags( + WindowManager.LayoutParams.FLAG_SECURE, + WindowManager.LayoutParams.FLAG_SECURE, + ) return dialog } |