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

Skip to content
Commit c8f7dfcb authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

Use device for given attributes to query direct playback support.

When querying the direct playback support with given audio attributes,
no device information will be taken into consideration when getting
compatible profiles. This will cause the problem that the direct
playback is supported with given audio attributes but the app may not
get direct playback with the same audio attibutes. The reason is that
the routed device(s) may not support direct playback with the audio
attibutes while some other devices do but they are not the routed
devices. In that case, when querying direct playback support, the
devices for given attributes should be used.

Bug: 196047314
Test: atest AudioManagerTest AudioTrackOffloadTest
Change-Id: Idf7d1f5fff44ee542254e72c8251c34a8fe652ff
parent b5a665ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment