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

Skip to content
Commit 6dcb756b authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Replace WC#inAppOrRecentsTransition with WS#inTransitionSelfOrParent

As WC#inAppOrRecentsTransition the naming didn't clearly state how to
check the container animating state (e.g. during transition preperation,
container self or its hierarchy is in transition state)

Also, originally TransitionController#inTransition(wc) has included recents
animation since it's a subset of the shell-transition, the only thing
we need to change in this method is to make isColleting(wc) also traverse
the parent of subtree to comply the definition of inTransition(wc):

"Returns true if a transition is running in a participant subtree of wc"

Also, this CL is a mechanical refactoring and should not have any behavior
change.

Bug: 212570341
Test: atest DisplayContentTests WindowStateTests WindowContainerTests
Test: manual, make sure IME screenshot mechanism workable
Change-Id: Ic6826a129a000d9abf7dead05896109504ebbb12
parent 44b2ae63
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