Merge "Adds the knownSigner protection level to the permission of the demo device provisioning." into udc-dev
This commit is contained in:
@@ -3707,7 +3707,8 @@
|
|||||||
|
|
||||||
<!-- @SystemApi @hide Allows an application to set a device owner on retail demo devices.-->
|
<!-- @SystemApi @hide Allows an application to set a device owner on retail demo devices.-->
|
||||||
<permission android:name="android.permission.PROVISION_DEMO_DEVICE"
|
<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
|
<!-- @TestApi @hide Allows an application to reset the record of previous system update freeze
|
||||||
periods. -->
|
periods. -->
|
||||||
|
|||||||
@@ -227,4 +227,10 @@
|
|||||||
<string-array name="device_state_notification_thermal_contents">
|
<string-array name="device_state_notification_thermal_contents">
|
||||||
<item>@string/concurrent_display_notification_thermal_content</item>
|
<item>@string/concurrent_display_notification_thermal_content</item>
|
||||||
</string-array>
|
</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>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user