From ea8e45e9344f7c27184cfd5aa4f2c92e153b6876 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 12 Oct 2021 12:44:46 +0200 Subject: [PATCH] enable keyguard when users presses home button = security check if call was entered via notification in locked mode Signed-off-by: Marcel Hibbe --- .../main/java/com/nextcloud/talk/activities/MagicCallActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/nextcloud/talk/activities/MagicCallActivity.kt b/app/src/main/java/com/nextcloud/talk/activities/MagicCallActivity.kt index 445fb1060..c6656faad 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/MagicCallActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/activities/MagicCallActivity.kt @@ -96,6 +96,7 @@ class MagicCallActivity : BaseActivity() { @RequiresApi(Build.VERSION_CODES.O) override fun onUserLeaveHint() { + enableKeyguard() enterPictureInPictureMode(getPipParams()) }