Loading
APM: Avoid calling 'setOutputDevices' after adding output for HIDL
Legacy systems suffer from user-perceivable audio dropouts during device switching. Since forcing of the patches is only necessary on AIDL HALs, skip the call to 'setOutputDevices' on previous versions. Since prior to AIDL HAL introduction all major SoC vendors used legacy HAL version below '3', a check for the primay HAL version should suffice. Bug: 363105967 Test: atest audiopolicy_tests Change-Id: I5daa8bb62f1073398e25a8f7da5c5ada93962a92