mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Moving saving state transtion listener logic to individual views
Change-Id: If5402b6961d7d6be0c50778f27a8746ed6f1bbfb
This commit is contained in:
@@ -421,6 +421,11 @@ public class WorkspaceStateTransitionAnimation {
|
||||
canceled = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
mWorkspace.getPageIndicator().setShouldAutoHide(!states.stateIsSpringLoaded);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
mStateAnimator = null;
|
||||
@@ -434,6 +439,7 @@ public class WorkspaceStateTransitionAnimation {
|
||||
} else {
|
||||
overviewPanel.setAlpha(finalOverviewPanelAlpha);
|
||||
AlphaUpdateListener.updateVisibility(overviewPanel, accessibilityEnabled);
|
||||
mWorkspace.getPageIndicator().setShouldAutoHide(!states.stateIsSpringLoaded);
|
||||
|
||||
qsbAlphaAnimation.end();
|
||||
mWorkspace.createHotseatAlphaAnimator(finalHotseatAlpha).end();
|
||||
|
||||
Reference in New Issue
Block a user