Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev am: 43327eb082

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

Change-Id: Ie91361e9e02b5f4bd4948d9b9e0971cec6896eaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Andreas Agvard
2023-04-21 07:10:25 +00:00
committed by Automerger Merge Worker

View File

@@ -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