diff options
author | gkipnis <gkipnis@cyngn.com> | 2016-02-11 15:36:08 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2016-04-01 12:11:03 -0700 |
commit | 1ee5f204cc7a8b2ce869897c28145b38cc06e629 (patch) | |
tree | 7d8e3007db7fcef676866aba174382a733b1c3c9 /cm/res | |
parent | fcfc13e31300c43bff02736a3dffe1f82c91ac3c (diff) | |
download | vendor_cmsdk-1ee5f204cc7a8b2ce869897c28145b38cc06e629.zip vendor_cmsdk-1ee5f204cc7a8b2ce869897c28145b38cc06e629.tar.gz vendor_cmsdk-1ee5f204cc7a8b2ce869897c28145b38cc06e629.tar.bz2 |
Added READ_DATAUSAGE and WRITE_DATAUSAGE permissions
These permissions are used to control access to the DataUsageProvider
Change-Id: I3c0df3900c964d274081fe3bd9038705334819c8
Diffstat (limited to 'cm/res')
-rw-r--r-- | cm/res/AndroidManifest.xml | 12 | ||||
-rw-r--r-- | cm/res/res/values/strings.xml | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml index b403d1e..3565673 100644 --- a/cm/res/AndroidManifest.xml +++ b/cm/res/AndroidManifest.xml @@ -227,4 +227,16 @@ android:killAfterRestore="false" android:supportsRtl="true"/> + <!-- Permission for reading the DataUsage database --> + <permission android:name="cyanogenmod.permission.READ_DATAUSAGE" + android:label="@string/permlab_dataUsageRead" + android:description="@string/permdesc_dataUsageRead" + android:protectionLevel="signature|privileged" /> + + <!-- Permission for writing the DataUsage database --> + <permission android:name="cyanogenmod.permission.WRITE_DATAUSAGE" + android:label="@string/permlab_dataUsageWrite" + android:description="@string/permdesc_dataUsageWrite" + android:protectionLevel="signature|privileged" /> + </manifest> diff --git a/cm/res/res/values/strings.xml b/cm/res/res/values/strings.xml index 887062f..aa0d0de 100644 --- a/cm/res/res/values/strings.xml +++ b/cm/res/res/values/strings.xml @@ -188,4 +188,14 @@ <string name="permdesc_weather_bind">Allows an app to be identified as a weather provider service.</string> <string name="permlab_weather_access_mgr">access weather service</string> <string name="permdesc_weather_access_mgr">Allows an app to access the weather service in the system. Should never be needed for normal apps.</string> + + <!-- DataUsageProvider write permission title --> + <string name="permlab_dataUsageWrite">modify data usage db</string> + <!-- DataUsageProvider write permission description --> + <string name="permdesc_dataUsageWrite">Allows write access to the DataUsage db</string> + + <!-- DataUsageProvider read permission title --> + <string name="permlab_dataUsageRead">read data usage db</string> + <!-- DataUsageProvider read permission description --> + <string name="permdesc_dataUsageRead">Allows read access to the DataUsage db</string> </resources> |