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

Commit 43327eb0 authored by Andreas Agvard's avatar Andreas Agvard Committed by Android (Google) Code Review
Browse files

Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev

parents 8b71205f 167a7ba1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
                                    mActivityInterface);
                });

        notifyGestureStartedAsync();
        notifyGestureStarted();
    }

    private void onDeferredActivityLaunch() {
@@ -962,7 +962,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
                }
            });
        }
        notifyGestureStartedAsync();
        notifyGestureStarted();
        setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */);

        if (mIsTransientTaskbar && !mTaskbarAlreadyOpen && !isLikelyToStartNewTask) {
@@ -995,7 +995,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
     * Notifies the launcher that the swipe gesture has started. This can be called multiple times.
     */
    @UiThread
    private void notifyGestureStartedAsync() {
    private void notifyGestureStarted() {
        final T curActivity = mActivity;
        if (curActivity != null) {
            // Once the gesture starts, we can no longer transition home through the button, so