Merge "Update with new assist app ops."

This commit is contained in:
Dianne Hackborn
2015-04-06 20:21:54 +00:00
committed by Android (Google) Code Review
2 changed files with 12 additions and 2 deletions

View File

@@ -618,6 +618,9 @@
<item>mute/unmute microphone</item>
<item>project media</item>
<item>activate VPN</item>
<item>write wallpaper</item>
<item>assist structure</item>
<item>assist screenshot</item>
</string-array>
<!-- User display names for app ops codes -->
@@ -669,6 +672,9 @@
<item>Mute/unmute microphone</item>
<item>Project media</item>
<item>Activate VPN</item>
<item>Write wallpaper</item>
<item>Assist structure</item>
<item>Assist screenshot</item>
</string-array>
<!-- Titles for the list of long press timeout options. -->

View File

@@ -191,7 +191,9 @@ public class AppOpsState {
AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
AppOpsManager.OP_WAKE_LOCK,
AppOpsManager.OP_PROJECT_MEDIA,
AppOpsManager.OP_ACTIVATE_VPN, },
AppOpsManager.OP_ACTIVATE_VPN,
AppOpsManager.OP_ASSIST_STRUCTURE,
AppOpsManager.OP_ASSIST_SCREENSHOT},
new boolean[] { false,
true,
true,
@@ -199,7 +201,9 @@ public class AppOpsState {
true,
true,
false,
false, }
false,
false,
false }
);
public static final OpsTemplate[] ALL_TEMPLATES = new OpsTemplate[] {