mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Fix crash for predictive back to home fallback animation
Bug: 323046568 Flag: ACONFIG com.android.window.flags.predictive_back_system_anims TEAMFOOD Test: Manual, i.e. verify no crash for predictive back to home fallback animation Change-Id: I8bd5ddb3f97376a9d9bc4bdf1e3a55e7f53a192f Change-Id: I1f53b3fafb8d508a0e0b67dda16eae36191f197c
This commit is contained in:
@@ -1677,7 +1677,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
}
|
||||
};
|
||||
|
||||
if (fromPredictiveBack) {
|
||||
if (fromPredictiveBack && rectFSpringAnim != null) {
|
||||
rectFSpringAnim.addAnimatorListener(endListener);
|
||||
} else {
|
||||
anim.addListener(endListener);
|
||||
|
||||
Reference in New Issue
Block a user