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

Commit 561df62a authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

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

am: d7007923

* commit 'd7007923':
  Add null check in showLockTaskToast

Change-Id: Ieba238cbc0cc0ae36ec6cab942cbe98e55600fcb
parents c4d91f0b d7007923
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)) {