From 1b4193314705ccf6303156273009487f14111325 Mon Sep 17 00:00:00 2001 From: xshu Date: Tue, 22 Feb 2022 14:44:05 -0800 Subject: [PATCH] Add knownSigner to permissions needed by trusted OEM apps This protection level attribute will allow OEMs to grant these permission to their trusted apps signed by certificates in the knownCerts. Bug: 218789373 Test: compile Change-Id: I30f036374238793abdac5fcf57c066aad8042cd5 --- core/res/AndroidManifest.xml | 9 ++++++--- core/res/res/values/arrays.xml | 6 ++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 3b2a24846d92c..6ec968780232a 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1903,14 +1903,16 @@ to improve wifi performance.

Not for use by third-party applications. --> + android:protectionLevel="signature|privileged|knownSigner" + android:knownCerts="@array/wifi_known_signers" /> + android:protectionLevel="signature|privileged|knownSigner" + android:knownCerts="@array/wifi_known_signers" /> + android:protectionLevel="signature|privileged|knownSigner" + android:knownCerts="@array/wifi_known_signers" /> @string/app_info + + + +