Skip to content
Commit 3f3f5fcc authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 690dd68d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment