summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2015-10-01 15:00:59 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2015-10-01 18:40:26 -0700
commit24806db8f6f523542510097ce0af4a32beeda83b (patch)
treecfd5737ad7f910e52233e4f36a897192767d71e2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6ffe9f05de81fab8e3cb4031a784e26c2c0acce1 (diff)
AudioService: alternative way of handling device rotation
For devices that monitor orientation (primarily for channel assignment to stereo speakers): The com.android.server.policy.WindowOrientationListener API is more power efficient than simply monitoring the device's orientation. When supported, use it instead of android.view.OrientationEventListener. When WindowOrientationListener reports an orientation change, start a thread to poll the UI orientation, as its change may lag behind the observed rotation. Gradually increasing delays between polls are stored in a table. Bug 24415763 Change-Id: I69bf68da6107af24cd02a48961dd17ceab557816
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions