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

Commit 5fe7681d authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Add aconfig flag for fixing AAudio stream issue with AIDL

Added a flag for the behavior of allowing the libaudiohal@aidl
to close and re-open HAL AAudio streams while keeping the same
StreamHalInterface instance for the framework. This aligns
with the HIDL behavior that was possible due to existence
of `createMmapBuffer` HAL method which was removed in AIDL.

aconfig flags: Flag: com.android.media.audio.fix_aaudio_stream_reopen_in_libaudiohal_aidl
Bug: 274456992
Change-Id: I00d8b370621d8cbe979cccf139808a6ada32eee8
Test: m
parent ddfa374b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -35,6 +35,14 @@ flag {
    bug: "306283018"
}

flag {
    name: "fix_aaudio_stream_reopen_in_libaudiohal_aidl"
    namespace: "media_audio"
    description:
        "Support reopening of AAudio streams in the libaudiohal@aidl layer"
    bug: "274456992"
}

flag {
    name: "fix_call_audio_patch"
    namespace: "media_audio"