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

Commit 15b40177 authored by Jeremy Wu's avatar Jeremy Wu
Browse files

Reapply "APM: use routing checks with ioprofile"

This reverts commit dc1aa1bb,
and adds the change to enhance flag checking.

In the original CL, when the flag is disabled,
|getAudioMixPort| will return |BAD_VALUE| if the IO handle is none.

That makes some routable checks end up in false, and break CUJs.

This CL adds the flag check when such checks are involved, so that
the legacy logic is truly guarded.

Bug: 367117623
Test: Verify BT audio works on incoming call w&w/o flag on Caiman
Flag: com.android.media.audioserver.enable_strict_port_routing_checks

Change-Id: If3b439f842e0c47bcf19fceab8f5d7829271576e
parent d4c8ff09
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