diff options
| author | Ming-Shin Lu <lumark@google.com> | 2022-03-16 20:36:38 +0800 |
|---|---|---|
| committer | Ming-Shin Lu <lumark@google.com> | 2022-03-22 01:23:41 +0800 |
| commit | 6dcb756b23e6b23ca030b6b25b72be1a6fc28ba4 (patch) | |
| tree | 22c3387d40581a3fe7d6aaa9c2bbe14a73177827 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 44b2ae6375f4015de46318a5001572ef2ca67e65 (diff) | |
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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
