mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Fix QSB animating separately from workspace during stagger anim
- Don't play any state animation if animComponents == 0 - StaggeredWorkspaceAnim handles depth controller Bug: 157596833 Change-Id: I6ae4c5da2e837c61b57349e708b7499af8e14aaa
This commit is contained in:
@@ -306,8 +306,10 @@ public class StateManager<STATE_TYPE extends BaseState<STATE_TYPE>> {
|
||||
+ state);
|
||||
}
|
||||
PendingAnimation builder = new PendingAnimation(mConfig.duration);
|
||||
for (StateHandler handler : getStateHandlers()) {
|
||||
handler.setStateWithAnimation(state, mConfig, builder);
|
||||
if (mConfig.getAnimComponents() != 0) {
|
||||
for (StateHandler handler : getStateHandlers()) {
|
||||
handler.setStateWithAnimation(state, mConfig, builder);
|
||||
}
|
||||
}
|
||||
builder.addListener(new AnimationSuccessListener() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user