From 01fae55d175eea6e723d6fa8729bbe868d05cfc2 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Thu, 29 May 2014 14:42:54 -0700 Subject: [PATCH] add permission for AudioManager routing APIs. Add signature or system permission "android.permission.MODIFY_AUDIO_ROUTING" for AudioManager APIs allowing system services and applications to modify audio routing. Bug: 14815883. Change-Id: If09f6f3a166a6b2f3761b65dbde0c86873850f07 --- core/res/AndroidManifest.xml | 8 ++++++++ core/res/res/values/strings.xml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 55f52da4f9f2d..9e378dad2c12b 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2225,6 +2225,14 @@ android:description="@string/permdesc_captureAudioHotword" android:protectionLevel="signature|system" /> + + + Allows the app to capture audio for Hotword detection. The capture can happen in the background but does not prevent other audio capture (e.g. Camcorder). + + Audio Routing + + Allows the app to directly control audio routing and + override audio policy decisions. + capture video output