mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Merge pull request #3716 from nextcloud/fix_recents_screen
Fix Recents Screen
This commit is contained in:
commit
415349e267
@ -105,7 +105,7 @@ open class BaseActivity : AppCompatActivity() {
|
|||||||
disableKeyboardPersonalisedLearning(viewGroup)
|
disableKeyboardPersonalisedLearning(viewGroup)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (appPreferences.isScreenSecured) {
|
if (appPreferences.isScreenSecured || appPreferences.isScreenLocked) {
|
||||||
window.addFlags(WindowManager.LayoutParams.FLAG_SECURE)
|
window.addFlags(WindowManager.LayoutParams.FLAG_SECURE)
|
||||||
} else {
|
} else {
|
||||||
window.clearFlags(WindowManager.LayoutParams.FLAG_SECURE)
|
window.clearFlags(WindowManager.LayoutParams.FLAG_SECURE)
|
||||||
|
Loading…
Reference in New Issue
Block a user