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

Commit d38aad79 authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Automerger Merge Worker
Browse files

Merge "prevent crash with pin protected user and taskview" am: b98b2c84

parents a513296a b98b2c84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1222,7 +1222,7 @@ final class TaskDisplayArea extends DisplayArea<WindowContainer> {

        // Clear last paused activity if focused root task changed while sleeping, so that the
        // top activity of current focused task can be resumed.
        if (mDisplayContent.isSleeping()) {
        if (mDisplayContent.isSleeping() && currentFocusedTask != null) {
            currentFocusedTask.clearLastPausedActivity();
        }