enable keyguard when users presses home button

= security check if call was entered via notification in locked mode

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-10-12 12:44:46 +02:00
parent 0aee8eb7ef
commit ea8e45e934
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -96,6 +96,7 @@ class MagicCallActivity : BaseActivity() {
@RequiresApi(Build.VERSION_CODES.O) @RequiresApi(Build.VERSION_CODES.O)
override fun onUserLeaveHint() { override fun onUserLeaveHint() {
enableKeyguard()
enterPictureInPictureMode(getPipParams()) enterPictureInPictureMode(getPipParams())
} }