diff options
author | Adrian Roos <roosa@google.com> | 2017-07-25 15:37:32 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2017-07-25 15:37:32 +0200 |
commit | 3162b8f7e999705bf09920974cf6e369b51bc5fe (patch) | |
tree | 8fd9df2d635b027ce29e71326519ab1773f02949 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | aaf3860941f8a7eb631c50755a04b5a8aed003ac (diff) |
AOD: Fix rotation during screen off (again)
Fixes another issue where the screen could rotate during the screen-off transition.
mAwake is still true during goingToSleep, but we should no longer play rotation
animations if we are going to sleep. Instead use the more appropriately named
okToAnimate.
Change-Id: I816d1552de3fea0a19ce42ca50d845eb46f80625
Fixes: 63760853
Test: Trigger show-when-locked navigation, rotate phone to landscape, trigger assistant, go to sleep. Verify no rotation plays; go/wm-smoke
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions