summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/ServiceUtilities.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-05-29 14:37:38 -0700
committerEric Laurent <elaurent@google.com>2014-06-02 11:05:58 -0700
commit5284ed53c14cd4d15bd793000ede7166d143e69a (patch)
tree8a18ea6e8776d3118467d6491743edc97f231bf8 /services/audioflinger/ServiceUtilities.h
parent62aaabb3905c61bb7acd6037414c206240a31c32 (diff)
downloadframeworks_av-5284ed53c14cd4d15bd793000ede7166d143e69a.zip
frameworks_av-5284ed53c14cd4d15bd793000ede7166d143e69a.tar.gz
frameworks_av-5284ed53c14cd4d15bd793000ede7166d143e69a.tar.bz2
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
Diffstat (limited to 'services/audioflinger/ServiceUtilities.h')
-rw-r--r--services/audioflinger/ServiceUtilities.h1
1 files changed, 1 insertions, 0 deletions
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();
}