From 167a7ba13b617e91e4d140d42397728ae7c83afb Mon Sep 17 00:00:00 2001 From: Andreas Agvard Date: Wed, 19 Apr 2023 10:10:20 +0200 Subject: [PATCH] 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 --- quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java index 97956701ab..a470fd018b 100644 --- a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +++ b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java @@ -624,7 +624,7 @@ public abstract class AbsSwipeUpHandler, mActivityInterface); }); - notifyGestureStartedAsync(); + notifyGestureStarted(); } private void onDeferredActivityLaunch() { @@ -961,7 +961,7 @@ public abstract class AbsSwipeUpHandler, } }); } - notifyGestureStartedAsync(); + notifyGestureStarted(); setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */); if (mIsTransientTaskbar && !mTaskbarAlreadyOpen && !isLikelyToStartNewTask) { @@ -994,7 +994,7 @@ public abstract class AbsSwipeUpHandler, * 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