commit | 5b882d9e98798978726eed8c73751f9c5ec2eb26 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Thu Dec 12 09:58:42 2024 -0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 19 00:45:27 2024 -0800 |
tree | 4b769f51ebb61ac5c9f837b3096adf14e69f4ef4 | |
parent | 995e3671359a6d27f4263b514cf4ae37ce5a29f3 [diff] [blame] |
Un-require RECORD_OP for VOICE_DOWNLINK Flag: EXEMPT bugfix Bug: 383173148 Test: compiles (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:747554dc6b8f05dcda56e5bb9811ea7e957e524a) Merged-In: Idd4389e7e79ee819c29ec2676d2e22d5a4b12249 Change-Id: Idd4389e7e79ee819c29ec2676d2e22d5a4b12249
diff --git a/media/utils/ServiceUtilities.cpp b/media/utils/ServiceUtilities.cpp index ce8e00e..7fd5be5 100644 --- a/media/utils/ServiceUtilities.cpp +++ b/media/utils/ServiceUtilities.cpp
@@ -80,9 +80,7 @@ } // NOTE/TODO(b/379754682): -// AUDIO_SOURCE_VOICE_DOWNLINK and AUDIO_SOURCE_VOICE_CALL are handled specially: -// DOWNLINK is an output source, but we still require RecordOp in addition to -// OP_RECORD_INCOMING_PHONE_AUDIO +// AUDIO_SOURCE_VOICE_CALL is handled specially: // CALL includes both uplink and downlink, but we attribute RECORD_OP (only), since // there is not support for noting multiple ops. int32_t getOpForSource(audio_source_t source) { @@ -110,7 +108,7 @@ case AUDIO_SOURCE_FM_TUNER: case AUDIO_SOURCE_ECHO_REFERENCE: // fallthrough case AUDIO_SOURCE_REMOTE_SUBMIX: - // case AUDIO_SOURCE_VOICE_DOWNLINK: + case AUDIO_SOURCE_VOICE_DOWNLINK: return false; default: return true;