mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event.
Before: https://screenshot.googleplex.com/8ZYxhujUR3amgmF.png After: https://screenshot.googleplex.com/AZ7PExbBhGW2pAC.png Bug: 178562918 Test: Manual Change-Id: Id0bc54049e3a13cd53aaa37d0acee27ec7433fab
This commit is contained in:
@@ -317,7 +317,9 @@ public abstract class AbstractStateChangeTouchController
|
||||
Math.min(progress, 1) - endProgress) * durationMultiplier;
|
||||
}
|
||||
}
|
||||
|
||||
if (targetState != mStartState) {
|
||||
logReachedState(targetState);
|
||||
}
|
||||
mCurrentAnimation.setEndAction(() -> onSwipeInteractionCompleted(targetState));
|
||||
ValueAnimator anim = mCurrentAnimation.getAnimationPlayer();
|
||||
anim.setFloatValues(startProgress, endProgress);
|
||||
@@ -345,9 +347,6 @@ public abstract class AbstractStateChangeTouchController
|
||||
}
|
||||
|
||||
protected void goToTargetState(LauncherState targetState) {
|
||||
if (targetState != mStartState) {
|
||||
logReachedState(targetState);
|
||||
}
|
||||
if (!mLauncher.isInState(targetState)) {
|
||||
// If we're already in the target state, don't jump to it at the end of the animation in
|
||||
// case the user started interacting with it before the animation finished.
|
||||
|
||||
Reference in New Issue
Block a user