Add appOps settings for accessibility volume control
Test: make Bug 30448020 Change-Id: I88b6fa1da646f4067115d4ef77051f1fed5fa46c
This commit is contained in:
@@ -617,6 +617,7 @@
|
|||||||
<item>turn on screen</item>
|
<item>turn on screen</item>
|
||||||
<item>get accounts</item>
|
<item>get accounts</item>
|
||||||
<item>run in background</item>
|
<item>run in background</item>
|
||||||
|
<item>accessibility volume</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- User display names for app ops codes -->
|
<!-- User display names for app ops codes -->
|
||||||
@@ -685,6 +686,7 @@
|
|||||||
<item>Turn on screen</item>
|
<item>Turn on screen</item>
|
||||||
<item>Get accounts</item>
|
<item>Get accounts</item>
|
||||||
<item>Run in background</item>
|
<item>Run in background</item>
|
||||||
|
<item>Accessibility volume</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- Titles for the list of long press timeout options. -->
|
<!-- Titles for the list of long press timeout options. -->
|
||||||
|
@@ -167,6 +167,7 @@ public class AppOpsState {
|
|||||||
AppOpsManager.OP_AUDIO_ALARM_VOLUME,
|
AppOpsManager.OP_AUDIO_ALARM_VOLUME,
|
||||||
AppOpsManager.OP_AUDIO_NOTIFICATION_VOLUME,
|
AppOpsManager.OP_AUDIO_NOTIFICATION_VOLUME,
|
||||||
AppOpsManager.OP_AUDIO_BLUETOOTH_VOLUME,
|
AppOpsManager.OP_AUDIO_BLUETOOTH_VOLUME,
|
||||||
|
AppOpsManager.OP_AUDIO_ACCESSIBILITY_VOLUME,
|
||||||
AppOpsManager.OP_MUTE_MICROPHONE},
|
AppOpsManager.OP_MUTE_MICROPHONE},
|
||||||
new boolean[] { false,
|
new boolean[] { false,
|
||||||
true,
|
true,
|
||||||
|
Reference in New Issue
Block a user