Screen Pinning ( as mentioned on this page ) 是 Android 5 (Lollipop) 中引入的一项新功能,它允许用户暂时将一个 Activity 锁定在屏幕上。激活屏幕固定后,所有其他通知都会隐藏。
可以采取以下步骤来激活屏幕固定
Users can enable screen pinning in Settings > Security > Screen Pinning, and select the tasks they want to pin by touching the green pin icon in the recents screen.
要退出屏幕固定,用户可以执行以下操作
the user can exit by holding both the Back and Recent buttons
我想问的是
Is there any way to exit from Screen Pinning on Android Emulator for 5.0?, as we won't be able to press both Back and Recent buttons at same time with mouse?
谢谢。
最佳答案
您可以使用 adb 命令取消固定:adb shell am task lock stop
关于java - 如何退出屏幕固定 - Android 5(模拟器),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27437203/