From 82db269d4797cb9909988b723d91fa2094a74b38 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Fri, 7 Aug 2015 13:59:42 -0700 Subject: audio policy: protect capture from telephony RX path. Add permission check if the capture device selected is telephony RX path. Bug: 23017158. Change-Id: Iaa34d836e6cf46b7cbbf2483fcd4306dcd27ce90 --- services/audiopolicy/AudioPolicyInterface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'services/audiopolicy/AudioPolicyInterface.h') diff --git a/services/audiopolicy/AudioPolicyInterface.h b/services/audiopolicy/AudioPolicyInterface.h index 8523fc5..c1e7bc0 100644 --- a/services/audiopolicy/AudioPolicyInterface.h +++ b/services/audiopolicy/AudioPolicyInterface.h @@ -64,6 +64,7 @@ public: API_INPUT_MIX_EXT_POLICY_REROUTE,// used for platform audio rerouting, where mixes are // handled by external and dynamically installed // policies which reroute audio mixes + API_INPUT_TELEPHONY_RX, // used for capture from telephony RX path } input_type_t; public: -- cgit v1.1