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

Commit 6d02ec44 authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Check appEntry is not null before dereferencing it" into sc-dev

parents d4e3953a e8d8d3dc
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;
        }