commit | 12dc6b0e9fba8b7a8028d26fe02014fa2efe101e | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Oct 01 09:38:30 2019 -0700 |
committer | jiabin <jiabin@google.com> | Tue Dec 03 14:38:42 2019 -0800 |
tree | b72ebe2d9bd0682eef8613ed8a8cb30359c1a0ff | |
parent | 4ad3d03f619176464973f04adef235f49255b6ed [diff] [blame] |
Clear up bit mask usage in audio policy. This change includes: 1. Use DeviceTypeSet to represent a combination of audio device types. 2. Add helper functions for DeviceTypeSet 3. Stop using audio device type as a bit mask in DeviceVector Test: atest AudioTrackTest AudioRecordTest AudioPlaybackCaptureTest Test: atest AudioHostTest AudioServiceHostTest audiopolicy_tests Test: audio smoke test Change-Id: If80513b689848bcab6094f70a572f053856afa82 Merged-In: If80513b689848bcab6094f70a572f053856afa82
diff --git a/services/audiopolicy/engine/common/Android.bp b/services/audiopolicy/engine/common/Android.bp index d0775ad..b87c71d 100644 --- a/services/audiopolicy/engine/common/Android.bp +++ b/services/audiopolicy/engine/common/Android.bp
@@ -44,4 +44,7 @@ "libaudiopolicycomponents", "libaudiopolicyengine_config", ], + shared_libs: [ + "libaudiofoundation", + ], }