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

Commit 3072fb22 authored by WAYNE YANG's avatar WAYNE YANG Committed by Automerger Merge Worker
Browse files

Merge "Adds the knownSigner protection level to the permission of the demo...

Merge "Adds the knownSigner protection level to the permission of the demo device provisioning." into udc-dev am: c6e377fb am: f34000a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21573563



Change-Id: If1dcb54f8a6b5f9c83ccbd93e0b536e444644143
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4044463a f34000a6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3707,7 +3707,8 @@

    <!-- @SystemApi @hide Allows an application to set a device owner on retail demo devices.-->
    <permission android:name="android.permission.PROVISION_DEMO_DEVICE"
                android:protectionLevel="signature|setup" />
                android:protectionLevel="signature|setup|knownSigner"
                android:knownCerts="@array/demo_device_provisioning_known_signers" />

    <!-- @TestApi @hide Allows an application to reset the record of previous system update freeze
         periods. -->
+6 −0
Original line number Diff line number Diff line
@@ -227,4 +227,10 @@
    <string-array name="device_state_notification_thermal_contents">
        <item>@string/concurrent_display_notification_thermal_content</item>
    </string-array>

    <!-- Certificate digests for trusted apps that will be allowed to obtain the knownSigner of the
         demo device provisioning permissions. -->
    <string-array name="demo_device_provisioning_known_signers">
        <item>@string/config_retailDemoPackageSignature</item>
    </string-array>
</resources>