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

Commit 699f40e3 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Fixed NPE when pause is complete on a dead app.

am: e852400e

Change-Id: I5387cc123470229a65979c62e0aa399e7c3e7f5f
parents 40b1fdfd e852400e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1308,7 +1308,9 @@ final class ActivityStack {
            // It is possible the activity was freezing the screen before it was paused.
            // In that case go ahead and remove the freeze this activity has on the screen
            // since it is no longer visible.
            if (prev != null) {
                prev.stopFreezingScreenLocked(true /*force*/);
            }
            mPausingActivity = null;
        }