Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6db86c1e authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Finish rotation controller if the pending change is gone

Such when DisplayContent#getOrientation returns different values that
triggers rotation change A->B->A in a short time. The A->B will start
the rotation controller, but before the transition for A->B is started,
the later B->A restores to the original state, but there is no signal
to cancel the controller, which causes some windows to be hidden
(prepared to apply display change transition).

Fix: 289657013
Test: atest DisplayContentTests#testShellTransitRotation

Merged-In: I8d0e5bd07414f39fb8aca7cf33a01dcf0ae7956e
Change-Id: I8d0e5bd07414f39fb8aca7cf33a01dcf0ae7956e
(cherry picked from commit a8881054)
parent 0afdfc65
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