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

Commit dcd2d394 authored by Song Chun Fan's avatar Song Chun Fan Committed by Android (Google) Code Review
Browse files

Merge "[restrict_nonpreloads_system_shareduids] prevent previously installed...

Merge "[restrict_nonpreloads_system_shareduids] prevent previously installed apps from being uninstalled on reboots" into main
parents 337b0586 7ed620b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -185,7 +185,8 @@ final class ReconcilePackageUtils {
                        removeAppKeySetData = true;
                    }

                    if (!installRequest.isInstallSystem() && !isSystemPackage && !isApex
                    if ((installRequest.getScanFlags() & SCAN_BOOTING) == 0
                            && !installRequest.isInstallSystem() && !isSystemPackage && !isApex
                            && signingDetails != null
                            && systemPackage != null && systemPackage.getSigningDetails() != null
                            && systemPackage.getSigningDetails().checkCapability(