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

Commit 4a04f0fb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix sysui crashing on profile-only app open"

parents caa5a353 4597600d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -509,7 +509,8 @@ public class PhoneStatusBarPolicy implements Callback, Callbacks,
                if (!hasNotif(notifs, pkg, info.userId)) {
                    // TODO: Optimize by not always needing to get application info.
                    // Maybe cache non-ephemeral packages?
                    ApplicationInfo appInfo = pm.getApplicationInfo(pkg, 0, info.userId);
                    ApplicationInfo appInfo = pm.getApplicationInfo(pkg,
                            PackageManager.MATCH_UNINSTALLED_PACKAGES, info.userId);
                    if (appInfo.isInstantApp()) {
                        postEphemeralNotif(pkg, info.userId, appInfo, noMan);
                    }