commit | ba44979d7927e0e25206346a69d6a3dfde44a437 | [log] [tgz] |
---|---|---|
author | Luca Zuccarini <acul@google.com> | Fri Sep 29 11:31:17 2023 +0000 |
committer | Luca Zuccarini <acul@google.com> | Fri Sep 29 11:41:55 2023 +0000 |
tree | 024d14b8f156f45840fa65c8919013be87fdb969 | |
parent | f2412770e2715b81eb962fc39870854782a2774e [diff] |
[Toast] Fix ANR when tapping on rich card chip. This method recursively looks up the view hierarchy for a suitable view to animate. The wrong variable was causing an infinite loop by never updating the object being checked for the end condition. With the fix, the animation behaves as expected. Fix: 302568434 Flag: ENABLE_SEARCH_RESULT_LAUNCH_ANIMATION Test: see video in the bug. Change-Id: I123e50f1618a1e48256c0c976eeb46c93e8391b2 Merged-In: I123e50f1618a1e48256c0c976eeb46c93e8391b2
diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index 3113cc2..741249d 100644 --- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java +++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java
@@ -1829,7 +1829,7 @@ return null; } - current = (View) view.getParent(); + current = (View) current.getParent(); } return (T) current;