commit | a3d263c1c3605b0f71a01ecdeeefb3a033f6e6ce | [log] [tgz] |
---|---|---|
author | David Stevens <stevensd@google.com> | Thu Sep 14 16:27:56 2017 -0700 |
committer | David Stevens <stevensd@google.com> | Mon Sep 18 16:39:19 2017 -0700 |
tree | 6434ff2df125da6bf6c404df5adca093a134269e | |
parent | cdf80ad738408b75d9f047e23393672bc27e3628 [diff] |
Listen for device power state for VrMode ActivityManagerService's sleep state is now dependent on whether or not there are any awake displays, instead of the device power state. Make VrManagerService listen to the device power state instead of the ActtivityManagerService sleep state, since its VirtualDisplay for 2D activities will keep ActtivityManagerService awake. Bug: 65605913 Test: manual Change-Id: Ia620d24977d896e6688020d59850046dd0cb7187