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

Commit e73d7f59 authored by Andy Hung's avatar Andy Hung
Browse files

AudioTrackShared: Fix assertion on Java Offload

Two concurrent obtainBuffers are possible, one from the notification
thread and the other from the app data delivery thread.
Fix mUnreleased to prevent assertion on releaseBuffer.

Flag: EXEMPT bugfix
Test: atest AudioTrackOffloadTest#testPcmAudioTrackOffload
Test: atest CtsMediaAudioTestCases
Test: validated fix in the bug
Bug: 417174139
Change-Id: Ia4e687b5a8b860b8e6891d949703ed0d2b7cc0cb
parent d362eff8
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