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

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

Update process animating state with different reasons

Since shell transition is enabled, it is more often to invoke
setRunningRemoteAnimation for SystemUI. So there may a race
race that SystemUI has been boosted for entering AOD, but the
state is canceled by a finished transition.

So now with individual animating reasons, the transition will
only remove its corresponding reason. If other reasons still exist,
the process can keep the animating state for a higher priority.

Bug: 295116622
Test: atest WindowProcessControllerTests#testSetAnimatingReason
Change-Id: Id326518a0e2b2b9375015e55b5ce3983a9e801e7
(cherry picked from commit a2b2d739)
parent bf9f55f0
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