Merge "Fix Overview crash with 3 button navigation when animation is disabled" into main
This commit is contained in:
commit
40de6c4c12
1 file changed
+2
-2
@@ -253,7 +253,7 @@ public class StateManager<STATE_TYPE extends BaseState<STATE_TYPE>,
|
||||
if (mConfig.currentAnimation == null) {
|
||||
// Run any queued runnable
|
||||
if (listener != null) {
|
||||
listener.onAnimationEnd(null);
|
||||
listener.onAnimationEnd(new AnimatorSet());
|
||||
}
|
||||
return;
|
||||
} else if ((!mConfig.isUserControlled() && animated && mConfig.targetState == state)
|
||||
@@ -282,7 +282,7 @@ public class StateManager<STATE_TYPE extends BaseState<STATE_TYPE>,
|
||||
|
||||
// Run any queued runnable
|
||||
if (listener != null) {
|
||||
listener.onAnimationEnd(null);
|
||||
listener.onAnimationEnd(new AnimatorSet());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user