aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-07-25 10:31:37 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-08-11 16:20:16 -0700
commitda1776a8a8b21d1ff196c99098b8295240c9326c (patch)
tree49ab88b9cdf50d80377330132b214b467adbd030
parent6e5ab27fbb508b3b347c873c0a3d9848ced789e9 (diff)
downloadvendor_cmsdk-da1776a8a8b21d1ff196c99098b8295240c9326c.zip
vendor_cmsdk-da1776a8a8b21d1ff196c99098b8295240c9326c.tar.gz
vendor_cmsdk-da1776a8a8b21d1ff196c99098b8295240c9326c.tar.bz2
cmsdk: allow MANAGE_AUDIO_SESSIONS to be whitelisted
So the implementing service doesn't have to be signed with platform keys. Change-Id: I635d79173bf1771b58e1cb2dd333cee091610a48 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--cm/res/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index 66fc804..3e23af3 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -226,7 +226,8 @@
<permission android:name="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS"
android:label="@string/permlab_manage_audio_sessions"
android:description="@string/permdesc_manage_audio_sessions"
- android:protectionLevel="signature|privileged"/>
+ android:protectionLevel="signature|privileged"
+ androidprv:allowViaWhitelist="true" />
<!-- Allows an application to access the weather service.
<p>Although the protection is normal, this permission should be required ONLY by those apps