mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Revert "Fix bug where double swipe gets us stuck in Hint state while in Overview."
This reverts commit a8c08584a7.
Reason for revert: "caused a regression with quick switch from home: if you start the gesture then swipe back to the left, it ends up launching the task anyway"
Change-Id: I8e12e2de46b6fc6a3faeb0336762da08080c61d6
This commit is contained in:
@@ -1090,7 +1090,6 @@ public abstract class BaseSwipeUpHandlerV2<T extends StatefulActivity<?>, Q exte
|
||||
anim.addAnimatorListener(new AnimationSuccessListener() {
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
if (mActivity != null) {
|
||||
removeLiveTileOverlay();
|
||||
}
|
||||
|
||||
@@ -287,7 +287,6 @@ public abstract class SwipeUpAnimationLogic {
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
mHomeAnim.dispatchOnStart();
|
||||
}
|
||||
|
||||
|
||||
@@ -282,7 +282,6 @@ public class TaskMenuView extends AbstractFloatingView {
|
||||
mOpenCloseAnimator.addListener(new AnimationSuccessListener() {
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
setVisibility(VISIBLE);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,8 +46,7 @@ public class AlphaUpdateListener extends AnimationSuccessListener
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
public void onAnimationStart(Animator arg0) {
|
||||
// We want the views to be visible for animation, so fade-in/out is visible
|
||||
mView.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
@@ -19,8 +19,6 @@ package com.android.launcher3.anim;
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
|
||||
import androidx.annotation.CallSuper;
|
||||
|
||||
/**
|
||||
* Extension of {@link AnimatorListenerAdapter} for listening for non-cancelled animations
|
||||
*/
|
||||
@@ -28,12 +26,6 @@ public abstract class AnimationSuccessListener extends AnimatorListenerAdapter {
|
||||
|
||||
protected boolean mCancelled = false;
|
||||
|
||||
@Override
|
||||
@CallSuper
|
||||
public void onAnimationStart(Animator animation) {
|
||||
mCancelled = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationCancel(Animator animation) {
|
||||
mCancelled = true;
|
||||
|
||||
@@ -335,7 +335,6 @@ public class AnimatorPlaybackController implements ValueAnimator.AnimatorUpdateL
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
mCancelled = false;
|
||||
mDispatched = false;
|
||||
}
|
||||
|
||||
@@ -315,7 +315,6 @@ public class StateManager<STATE_TYPE extends BaseState<STATE_TYPE>> {
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
super.onAnimationStart(animation);
|
||||
// Change the internal state only when the transition actually starts
|
||||
onStateTransitionStart(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user