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

Commit 4d55976c authored by Richard Uhler's avatar Richard Uhler
Browse files

Change MANAGE_ROLLBACKS permission to signature|verifier

It was set to signature|installer so that Phonesky would have access to
the RollbackManager APIs, but Phonesky is the verifier, not the
installer.

Test: atest RollbackTest
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Bug: 112431924
Change-Id: I45fbe3fe2e618517bca1fd93f35324f93851868c
parent 6ec5ba9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3861,7 +3861,7 @@

    <!-- @SystemApi @hide Allows managing apk level rollbacks. -->
    <permission android:name="android.permission.MANAGE_ROLLBACKS"
        android:protectionLevel="signature|installer" />
        android:protectionLevel="signature|verifier" />

    <!-- @SystemApi @hide Allows an application to mark other applications as harmful -->
    <permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS"