Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 202a0742 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

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
parent c51b092a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment