diff options
author | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-20 06:18:49 +0000 |
---|---|---|
committer | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-20 06:18:49 +0000 |
commit | e2ca3d4a927a09809dd1d4a4669eeecd778ae0ce (patch) | |
tree | 390777cbc92a31830f290a5f35bbbba2c3218943 /testing/android | |
parent | 0567733b5a7e5a8e2e771c9ea83a7cd53403988c (diff) | |
download | chromium_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 'testing/android')
-rw-r--r-- | testing/android/AndroidManifest.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/android/AndroidManifest.xml b/testing/android/AndroidManifest.xml index 1d27d59..73a0c14 100644 --- a/testing/android/AndroidManifest.xml +++ b/testing/android/AndroidManifest.xml @@ -23,9 +23,9 @@ found in the LICENSE file. </activity> </application> - <!-- TODO(jrg): add more permissions as needed by unit tests. --> <uses-permission android:name="android.permission.CAMERA" /> <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.WAKE_LOCK"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |