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

Commit c9400260 authored by Tracy Zhou's avatar Tracy Zhou Committed by Automerger Merge Worker
Browse files

Merge "Reset current task and dequeue overview commands when recents animation...

Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I881b9d322e67699ecea9414b3db2f72d05e80c3b
parents 458b223c 024749a1
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,6 @@
 */
 */
package com.android.quickstep;
package com.android.quickstep;


import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
import static com.android.quickstep.util.ActiveGestureLog.INTENT_EXTRA_LOG_TRACE_ID;
import static com.android.quickstep.util.ActiveGestureLog.INTENT_EXTRA_LOG_TRACE_ID;


@@ -199,6 +198,12 @@ public class OverviewCommandHelper {
            public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) {
            public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) {
                interactionHandler.onGestureCancelled();
                interactionHandler.onGestureCancelled();
                cmd.removeListener(this);
                cmd.removeListener(this);

                RecentsView createdRecents =
                        activityInterface.getCreatedActivity().getOverviewPanel();
                if (createdRecents != null) {
                    createdRecents.onRecentsAnimationComplete();
                }
            }
            }
        };
        };