commit | 5284ed53c14cd4d15bd793000ede7166d143e69a | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu May 29 14:37:38 2014 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Jun 02 11:05:58 2014 -0700 |
tree | 8a18ea6e8776d3118467d6491743edc97f231bf8 | |
parent | 62aaabb3905c61bb7acd6037414c206240a31c32 [diff] [blame] |
audio policy: add permission for routing APIs. Add check for signature or system permission "android.permission.MODIFY_AUDIO_ROUTING" for routing APIs. Bug: 14815883. Change-Id: Iefa0b9d90127a53e03a2e6d50dc93d8f4ae63e2f
diff --git a/services/audioflinger/ServiceUtilities.h b/services/audioflinger/ServiceUtilities.h index 531bc56..df6f6f4 100644 --- a/services/audioflinger/ServiceUtilities.h +++ b/services/audioflinger/ServiceUtilities.h
@@ -24,6 +24,7 @@ bool captureAudioOutputAllowed(); bool captureHotwordAllowed(); bool settingsAllowed(); +bool modifyAudioRoutingAllowed(); bool dumpAllowed(); }