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

Commit d7007923 authored by Hall Liu's avatar Hall Liu Committed by Android (Google) Code Review
Browse files

Merge "Add null check in showLockTaskToast" into nyc-dev

parents 21a608f2 45784f13
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3525,8 +3525,10 @@ public final class ActivityStackSupervisor implements DisplayListener {
    }

    void showLockTaskToast() {
        if (mLockTaskNotify != null) {
            mLockTaskNotify.showToast(mLockTaskModeState);
        }
    }

    void showLockTaskEscapeMessageLocked(TaskRecord task) {
        if (mLockTaskModeTasks.contains(task)) {