summaryrefslogtreecommitdiffstats
path: root/chrome/android
diff options
context:
space:
mode:
authorwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 06:18:49 +0000
committerwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 06:18:49 +0000
commite2ca3d4a927a09809dd1d4a4669eeecd778ae0ce (patch)
tree390777cbc92a31830f290a5f35bbbba2c3218943 /chrome/android
parent0567733b5a7e5a8e2e771c9ea83a7cd53403988c (diff)
downloadchromium_src-e2ca3d4a927a09809dd1d4a4669eeecd778ae0ce.zip
chromium_src-e2ca3d4a927a09809dd1d4a4669eeecd778ae0ce.tar.gz
chromium_src-e2ca3d4a927a09809dd1d4a4669eeecd778ae0ce.tar.bz2
Add MODIFY_AUDIO_SETTINGS permission in Android manifest and implementation in android audio manager.
MODIFY_AUDIO_SETTINGS allows application to be able to configure audio settings. In android audio manager, a function SetAudioMode is added to set audio mode. BUG=180328 Contributed by leozwang@chromium.org (https://codereview.chromium.org/12571006/). Review URL: https://codereview.chromium.org/12843015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/android')
-rw-r--r--chrome/android/testshell/java/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/android/testshell/java/AndroidManifest.xml b/chrome/android/testshell/java/AndroidManifest.xml
index e8f2fa8..a0cac7a 100644
--- a/chrome/android/testshell/java/AndroidManifest.xml
+++ b/chrome/android/testshell/java/AndroidManifest.xml
@@ -72,6 +72,7 @@
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>