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

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

Merge "Don't show a toast icon if app.info is null" into sc-dev

parents 77e7b86d 4bd8a2fb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -233,7 +233,8 @@ public class SystemUIToast implements ToastPlugin.Toast {
            return null;
        }
        final AppEntry appEntry = appState.getEntry(packageName, userId);
        if (!ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(appEntry)) {
        if (appEntry.info == null
                || !ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(appEntry)) {
            return null;
        }