mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Don't applyState if taskbar is already destroyed" into tm-qpr-dev
This commit is contained in:
@@ -249,6 +249,9 @@ import java.util.StringJoiner;
|
||||
}
|
||||
|
||||
public Animator applyState(long duration, boolean start) {
|
||||
if (mControllers.taskbarActivityContext.isDestroyed()) {
|
||||
return null;
|
||||
}
|
||||
Animator animator = null;
|
||||
if (mPrevState == null || mPrevState != mState) {
|
||||
// If this is our initial state, treat all flags as changed.
|
||||
|
||||
Reference in New Issue
Block a user