summaryrefslogtreecommitdiff
path: root/libs/appfunctions/java
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2024-10-14 15:30:08 +0100
committer Nick Chameyev <nickchameyev@google.com> 2024-10-16 10:54:44 +0100
commit5282b2b035606be96a0e262fbd3c02ab94d029df (patch)
tree15797d3f068661dd7c5667c741f42e22f955221e /libs/appfunctions/java
parent2037735004f508088b9597a53410408c0e935387 (diff)
Finish unfold Shell transition when fold is merged in
This CL addresses an issue with UnfoldTransitionHandler that it doesn't finish the animation when the following order of the events happens: - [unfolded the device] - handleRequest(unfold transition) -> returns WCT - [folded the device] - handleRequest(fold transition) -> returns null - onStateChangeFinished() -> mAnimationFinished is set to 'true' - onFoldedStateChanged(true) -> mAnimationFinished is set to 'false' - startAnimation() -> waits for the onStateChangeFinished which will never be executed as it has been fired already, onFoldedStateChanged() doesn't finish the transition because it was invoked before startAnimation() This is fixed by finishing the unfold transition when merge request with fold Shell transition is received. Bug: 372319646 Test: atest UnfoldTransitionHandlerTest Test: fold multiple times quickly using a script => verify all transitions are finished Flag: EXEMPT bugfix Change-Id: I1069e3a1b8ba607a0a6f5f3e697f2579966ea146
Diffstat (limited to 'libs/appfunctions/java')
0 files changed, 0 insertions, 0 deletions