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

Commit 4ca06afb authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [8701731, 8702515, 8702516, 8702438, 8702439, 8702517,...

Merge cherrypicks of [8701731, 8702515, 8702516, 8702438, 8702439, 8702517, 8702440] into qt-release

Change-Id: Ib3e830b05e994bda32c6355ae2fd89cea1a12bbf
parents 8c97d18f 9224dcdf
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -16590,13 +16590,13 @@ public class PackageManagerService extends IPackageManager.Stub
                                && compareSignatures(sharedUserSignatures,
                                        pkg.mSigningDetails.signatures)
                                        != PackageManager.SIGNATURE_MATCH) {
                            if (SystemProperties.getInt("ro.product.first_api_level", 0) <= 28) {
                            if (SystemProperties.getInt("ro.product.first_api_level", 0) <= 29) {
                                // Mismatched signatures is an error and silently skipping system
                                // packages will likely break the device in unforeseen ways.
                                // However,
                                // we allow the device to boot anyway because, prior to P,
                                // vendors were
                                // not expecting the platform to crash in this situation.
                                // However, we allow the device to boot anyway because, prior to Q,
                                // vendors were not expecting the platform to crash in this
                                // situation.
                                // This WILL be a hard failure on any new API levels after Q.
                                throw new ReconcileFailure(
                                        INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES,
                                        "Signature mismatch for shared user: "