Checking mRecentsAnimationController for null-ness
Now that we screenshot asynchronously. Test: presubmit Bug: 175708969 Change-Id: I27661b7a889661c91e480edb7fb3d536e34d4c68
This commit is contained in:
@@ -1395,6 +1395,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
|
||||
// Update the screenshot of the task
|
||||
if (mTaskSnapshot == null) {
|
||||
UI_HELPER_EXECUTOR.execute(() -> {
|
||||
if (mRecentsAnimationController == null) return;
|
||||
final ThumbnailData taskSnapshot =
|
||||
mRecentsAnimationController.screenshotTask(runningTaskId);
|
||||
MAIN_EXECUTOR.execute(() -> {
|
||||
|
||||
Reference in New Issue
Block a user