fix: protect PasswordDialog window

This commit is contained in:
Harsh Shandilya
2022-10-07 19:56:11 +05:30
parent d68958c3e1
commit 6dcffc04d2

View File

@@ -48,6 +48,10 @@ class PasswordDialog : DialogFragment() {
false
}
}
dialog.window?.setFlags(
WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE,
)
return dialog
}