OSDN Git Service

Fix VR mode handling when the screen blanks and unblanks.
authorCraig Donner <cdonner@google.com>
Wed, 13 Apr 2016 17:19:04 +0000 (10:19 -0700)
committerCraig Donner <cdonner@google.com>
Fri, 15 Apr 2016 05:18:20 +0000 (22:18 -0700)
commitb6ccae999fe285eb9c0c17ca88c271046afdfc20
tree18dc3c84e5c2a98e23b51785b5a17f773b9984c7
parent03abaa5df97d914c968c2837712fa5e6f04cf189
Fix VR mode handling when the screen blanks and unblanks.

When blanking the screen, turn off VR mode if it's enabled, and when waking up
after the keyboard goes away, turn it on if the top activity has requested VR
mode.

Bug: 26751056
Change-Id: Ib57b1c59e083e3615a02408d922c8c7be645ce92
services/core/java/com/android/server/am/ActivityManagerService.java