aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Garnes <matt@cyngn.com>2015-10-14 13:27:08 -0700
committerMatt Garnes <matt@cyngn.com>2015-10-14 14:58:56 -0700
commit9e69abb862db963b2513c0059a660b5fbb054e1a (patch)
tree8ed9367975b2500fdf52cd546c1fc37c3f622e2d
parentfe7a368a69a381caaf85dd5fec47cb6b24ed1fa8 (diff)
downloadvendor_cmsdk-9e69abb862db963b2513c0059a660b5fbb054e1a.zip
vendor_cmsdk-9e69abb862db963b2513c0059a660b5fbb054e1a.tar.gz
vendor_cmsdk-9e69abb862db963b2513c0059a660b5fbb054e1a.tar.bz2
Improve several permission description Strings.
The MODIFY_NETWORK_SETTINGS and MODIFY_SOUND_SETTINGS permissions were not descriptive enough. Improve the strings to enumerate exactly what settings these permissions protect. Fixes FOR-23. Change-Id: Idd64738c21d879462a7e7e6c65ceefdc771f1bcd
-rw-r--r--cm/res/AndroidManifest.xml4
-rw-r--r--cm/res/res/values/strings.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index 24667e4..70e0a73 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -36,7 +36,7 @@
android:icon="@drawable/ic_launcher_cyanogenmod"
android:protectionLevel="normal" />
- <!-- Allows system applications to make changes to a subset of system network settings -->
+ <!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
<permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
android:label="@string/permlab_modifyNetworkSettings"
android:description="@string/permdesc_modifyNetworkSettings"
@@ -44,7 +44,7 @@
androidprv:allowViaWhitelist="true"
android:protectionLevel="system|signature" />
- <!-- Allows system applications to make changes to a subset of system sound settings -->
+ <!-- Allows an app to make changes to the interruption mode sound settings -->
<permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
android:label="@string/permlab_modifySoundSettings"
android:description="@string/permdesc_modifySoundSettings"
diff --git a/cm/res/res/values/strings.xml b/cm/res/res/values/strings.xml
index bcfed5a..67e7228 100644
--- a/cm/res/res/values/strings.xml
+++ b/cm/res/res/values/strings.xml
@@ -22,10 +22,10 @@
<string name="permdesc_publishCustomTile">Allows an app to publish a quick settings tile.</string>
<string name="permlab_modifyNetworkSettings">change system network settings</string>
- <string name="permdesc_modifyNetworkSettings">Allows an app to make changes to a restricted set of system network settings.</string>
+ <string name="permdesc_modifyNetworkSettings">Allows an app to make changes to the airplane mode and mobile data network settings.</string>
<string name="permlab_modifySoundSettings">change system sound settings</string>
- <string name="permdesc_modifySoundSettings">Allows an app to make changes to a restricted set of system sound settings.</string>
+ <string name="permdesc_modifySoundSettings">Allows an app to make changes to the interruption mode sound settings.</string>
<string name="permlab_bindCustomTileListenerService">bind to a custom tile listener service</string>
<string name="permdesc_bindCustomTileListenerService">Allows the app to bind to the top-level interface of a custom tile listener service.</string>