mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
43327eb082
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user