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

Commit b1464cd4 authored by Jeffrey Vander Stoep's avatar Jeffrey Vander Stoep Committed by Android (Google) Code Review
Browse files

Merge "pm: Modify getPackage() to only return non-null packages" into pi-dev

parents 7184e28b 0a4c63f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public final class SharedUserSetting extends SettingBase {
        }
        final ArrayList<PackageParser.Package> pkgList = new ArrayList<>(packages.size());
        for (PackageSetting ps : packages) {
            if (ps == null) {
            if ((ps == null) || (ps.pkg == null)) {
                continue;
            }
            pkgList.add(ps.pkg);