diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-05-07 22:11:41 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-05-07 22:42:33 +0800 |
commit | 3f3f5fcc22010f984421afc637db559619b1fd29 (patch) | |
tree | 006b6ede62731338e32731c77d23b4fe6f84f5a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 690dd68dcc31dc7af2cd31475a64d68f29b931e2 (diff) |
Allow screen rotation animation when entering AOD
If the device supports AOD2, the device can sleep without
turning off screen. If device is sleeping, DisplayPolicy#isAwake
will be false that causes reject to animate. And if display
orientation is changed, the intermediate state of windows
are shown directly that looks flickering.
Bug: 187149609
Test: Enable "Lock screen" -> "Always show time and info"
Put launcher in landscape and turn off screen.
The rotation animation should cover the windows
which are redrawing for orientating change.
Change-Id: I915026563254bf1c79b0e859f502014a60f9236e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions