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

Commit 0dd5c836 authored by Song Chun Fan's avatar Song Chun Fan
Browse files

[ADI][60/N] Update emergency-bypass conditions

* Emergency bypass is allowed for the following conditions:
1. The verifier itself is being updated by its update owner as specified
   in the sysconfig.
2. The update owner of the verifier, as specified in the sysconfig, is
   being updated by itself.
3. The emergency installer of the sysconfig-specified update-owner of
   the verifier is being updated by the same sysconfig-specified
update-owner of the verifier.
4. The sysconfig-specified update-owner of the verifier is being updated
   by its emergency installer.

* For emergency bypass, negative developer verification results will be
  bypassed, so the installation will always proceed to the next stage,
regardless of the developer verification results.

BUG: 360129657
FLAG: android.content.pm.verification_service
Test: atest CtsRootDeveloperVerificationEmergencyBypassTestCases
Test: atest com.android.server.pm.PackageInstallerSessionTest

Change-Id: I8faaa546818767fc3ac821f3122b74a143e516cb
parent dbd006eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment