Loading services/core/java/com/android/server/pm/Settings.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -4558,6 +4558,10 @@ public final class Settings implements Watchable, Snappable, ResilientAtomicFile for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) { final PackageSetting ps = mPackages.valueAt(i); final PackageSetting ps = mPackages.valueAt(i); if (ps.getPkg() == null) { if (ps.getPkg() == null) { // This would force-create correct per-user state. ps.setInstalled(false, userHandle); // Make sure the app is excluded from storage mapping for this user. writeKernelMappingLPr(ps); continue; continue; } } final boolean shouldMaybeInstall = ps.isSystem() && final boolean shouldMaybeInstall = ps.isSystem() && Loading Loading
services/core/java/com/android/server/pm/Settings.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -4558,6 +4558,10 @@ public final class Settings implements Watchable, Snappable, ResilientAtomicFile for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) { final PackageSetting ps = mPackages.valueAt(i); final PackageSetting ps = mPackages.valueAt(i); if (ps.getPkg() == null) { if (ps.getPkg() == null) { // This would force-create correct per-user state. ps.setInstalled(false, userHandle); // Make sure the app is excluded from storage mapping for this user. writeKernelMappingLPr(ps); continue; continue; } } final boolean shouldMaybeInstall = ps.isSystem() && final boolean shouldMaybeInstall = ps.isSystem() && Loading