mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue