Skip to content
Commit 8bbb95fd authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Update rotation with animating recents if the device will sleep

Since live tile, the recents animation doesn't finish until back to
the original activity or switch to other activity. If AOD shows when
recents animates a task in different orientation, the rotation change
will be skipped and cause the AOD screen to show with old rotation.

Fix: 199527653
Test: DisplayContentTests#testRecentsNotRotatingWithFixedRotation
Test: On a device with AOD2 enabled, enter recents from a landscape
      app and press power key to enter AOD. The notification shade
      should show in portrait.
Change-Id: I134293cf083377b575f7560a39424a540ec53be9
parent c72d4fc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment