How to exit screen pinning – Android 5 (emulator)
Screen Pinning ( as mentioned on this page ) is a new feature introduced in Android 5 (Lollipop) that allows users to temporarily lock an activity to the screen. When screen pinning is activated, all other notifications are hidden.
You can take the following steps to activate screen pinning
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
To exit screen pinning, users can do the following
the user can exit by holding both the Back and Recent buttons
What I want to ask is
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?
Thank you.
Solution
You can unpin using the adb command: adb shell am task lock stop