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

Skip to content
Commit 9f667585 authored by Yinchu Chen's avatar Yinchu Chen
Browse files

AudioPolicyManager:Fix CTS testGaplessMP3AudioTrackOffload fail

getDirectPlaybackSupport return AUDIO_DIRECT_OFFLOAD_GAPLESS_SUPPORTED,
but getOffloadSupport return AUDIO_OFFLOAD_NOT_SUPPORTED cause test
fail.
solution: not return offload support when offloadPossible is false.

Test: atest AudioTrackOffloadTest#testGaplessMP3AudioTrackOffload
AudioManagerTest#testAdjustUnmuteNotificationInVibrate
AudioManagerTest#testStreamTypeAliasChange
Bug: 304449830

Change-Id: Ia68e70b98469e5c35b74e20e062519a4eb91d592
parent 3dfcb5d7
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