summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-07-19 12:25:34 +0200
committerAdrian Roos <roosa@google.com>2017-07-20 13:24:52 +0000
commit7c89480c0e0521977e6bb5976e2f97daa0f248cf (patch)
tree388bc22031b25d9e1bba3fdee55a4a33b8164d89 /tools/aapt2/java/JavaClassGenerator.cpp
parentd3878b5e124920cc89ef6cb4c7fad68a03b896b8 (diff)
AOD: Prevent animations and rotations while going to sleep
A recent change allowed animations while the screen is turning on, but not fully turned on; this allows rotations while the device is going to sleep though. To prevent that, we now disallow animations if the device is going to sleep too. In addition, we also prevent the rotation animation when the screen is not fully on or non-interactive. Change-Id: I9b84f68a02a07067e48b11c008bcaf4bcb7c41a0 Fixes: 63760853 Test: Turn phone to landscape on an app that can rotate. Press power button. Verify AOD shows without a rotation; go/wm-smoke
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions