summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2017-07-27 14:14:23 -0700
committerWale Ogunwale <ogunwale@google.com>2017-07-28 12:08:09 +0000
commitbfdfd2a31b6c49c5b7d9dbf060b8a43f4a1ff6e7 (patch)
tree84fdc975fa9f8b30ca88f957a4b893ebf20805a6 /tools/aapt2/java/JavaClassGenerator.cpp
parent076d6f76698b90903496c8da55cc7bfc72fd72c3 (diff)
Don't freeze display if it isn't okay to animate.
In window manager world you freeze the display because you want to do a rotation animation and that has the effect to allowing anything to influence the display orientation while the display is frozing. However, when the display is being turned off with the power button we still want the lockscreen to influence the display orientation so there is no rotation animation when the screen comes one. We already have a concept okToAnimate() used to determine if we should run animations. We now also use it to determine if we should freeze the display since freezing the display is a result of want to running a rotation animation. Fixes: 63760853 Test: Repro. steps from bug. Test: go/wm-smoke Change-Id: I9abeda1bd0018f519772f0edce05ea8025efbbbe
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions