From 222a0079746398920faf58d758988c8d34733394 Mon Sep 17 00:00:00 2001 From: wayneyang Date: Fri, 24 Feb 2023 06:42:58 +0000 Subject: [PATCH] Adds the knownSigner protection level to the permission of the demo device provisioning. The security review: b/267405430 Bug: 213131927 Test: manual Change-Id: Icfa32e6ef55618197647a3958368a7a9d4caefd3 --- core/res/AndroidManifest.xml | 3 ++- core/res/res/values/arrays.xml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 16db81825dd2e..9725c377f975e 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3707,7 +3707,8 @@ + android:protectionLevel="signature|setup|knownSigner" + android:knownCerts="@array/demo_device_provisioning_known_signers" /> diff --git a/core/res/res/values/arrays.xml b/core/res/res/values/arrays.xml index 4468ebe90ba0c..b35481d3c31ba 100644 --- a/core/res/res/values/arrays.xml +++ b/core/res/res/values/arrays.xml @@ -227,4 +227,10 @@ @string/concurrent_display_notification_thermal_content + + + + @string/config_retailDemoPackageSignature +