Merge "Fix NPE when recents animation controller is null" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0bef6c937a
@@ -245,7 +245,9 @@ public abstract class BaseSwipeUpHandler<T extends StatefulActivity<?>, Q extend
|
||||
protected void onRestartLastAppearedTask() {
|
||||
// Finish the controller here, since we won't get onTaskAppeared() for a task that already
|
||||
// appeared.
|
||||
mRecentsAnimationController.finish(false, null);
|
||||
if (mRecentsAnimationController != null) {
|
||||
mRecentsAnimationController.finish(false, null);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user