Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa873148 authored by vadimt's avatar vadimt
Browse files

Checking mRecentsAnimationController for null-ness

Now that we screenshot asynchronously.

Test: presubmit
Bug: 175708969
Change-Id: I27661b7a889661c91e480edb7fb3d536e34d4c68
parent 43182892
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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(() -> {