libaudiohal: Fix stream dump behavior
Due to aosp/3522154, the new (correct) behavior for streams dump is to use `IStreamIn|Out.dump` instead of `IStreamCommon.dump`. This behavior will be default starting from AIDL V4 (2026Q2 FRC). For AIDL V3, use a hybrid approach which tries to use `IStreamIn|Out.dump` first, and if there was no output then use `IStreamCommon.dump`. Make 'StreamHalAidl' class abstract since it is not supposed to be instantiated on its own. Flag: EXEMPT bugfix Bug: 417266267 Test: adb shell dumpsys media.audio_flinger Test: atest CoreAudioHalAidlTest Change-Id: I00c0acb0a6e08375a8d2bc1b65954f32557d2706
Loading
Please register or sign in to comment