diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 05bf78aadd1..3aed397b6ea 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -568,11 +568,11 @@ GPS vibrate read contacts - write contacts + modify contacts read call log - write call log + modify call log read calendar - write calendar + modify calendar wi-fi scan notification cell scan @@ -586,6 +586,7 @@ send SMS read ICC SMS write ICC SMS + modify settings @@ -595,11 +596,11 @@ Location Vibrate Read contacts - Write contacts + Modify contacts Read call log - Write call log + Modify call log Read calendar - Write calendar + Modify calendar Location Post notification Location @@ -613,6 +614,7 @@ Send SMS/MMS Receive SMS/MMS Send SMS/MMS + Modify settings diff --git a/src/com/android/settings/applications/AppOpsState.java b/src/com/android/settings/applications/AppOpsState.java index b2d862f66e9..5e7098a39a0 100644 --- a/src/com/android/settings/applications/AppOpsState.java +++ b/src/com/android/settings/applications/AppOpsState.java @@ -148,9 +148,11 @@ public class AppOpsState { public static final OpsTemplate DEVICE_TEMPLATE = new OpsTemplate( new int[] { AppOpsManager.OP_VIBRATE, AppOpsManager.OP_POST_NOTIFICATION, - AppOpsManager.OP_CALL_PHONE }, + AppOpsManager.OP_CALL_PHONE, + AppOpsManager.OP_WRITE_SETTINGS }, new boolean[] { false, false, + true, true } );