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

Commit 15e09df6 authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Check appEntry is not null before dereferencing it" into sc-dev am: 6d02ec44

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14156578

Change-Id: I4a66c8583dc65e1f3cfca4f0b2f1f47098281bbe
parents 0cc0f140 6d02ec44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ public class SystemUIToast implements ToastPlugin.Toast {
            return null;
        }
        final AppEntry appEntry = appState.getEntry(packageName, userId);
        if (appEntry.info == null
        if (appEntry == null || appEntry.info == null
                || !ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(appEntry)) {
            return null;
        }