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

Commit 167a7ba1 authored by Andreas Agvard's avatar Andreas Agvard
Browse files

Rename notifyGestureStartedAsync to notifyGestureStarted

Since there is nothing async about it's implementation.

Test: Since it's a name change compilation is the only test needed.
Bug: 278976890
Change-Id: I0057be3c25c3ec80054d3830fe706ec8f9995ea7
parent fb0a7a07
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
                                    mActivityInterface);
                });

        notifyGestureStartedAsync();
        notifyGestureStarted();
    }

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

        if (mIsTransientTaskbar && !mTaskbarAlreadyOpen && !isLikelyToStartNewTask) {
@@ -994,7 +994,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