From 5284ed53c14cd4d15bd793000ede7166d143e69a Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Thu, 29 May 2014 14:37:38 -0700 Subject: 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 --- services/audioflinger/ServiceUtilities.h | 1 + 1 file changed, 1 insertion(+) (limited to 'services/audioflinger/ServiceUtilities.h') 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 recordingAllowed(); bool captureAudioOutputAllowed(); bool captureHotwordAllowed(); bool settingsAllowed(); +bool modifyAudioRoutingAllowed(); bool dumpAllowed(); } -- cgit v1.1