mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 20:22:03 +00:00
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:
parent
0aee8eb7ef
commit
ea8e45e934
@ -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())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user