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

Skip to content
Commit 118ab4d9 authored by Vlad Popa's avatar Vlad Popa
Browse files

Replace stream state primitive arrays with SparseArrays

This is necessary since after the internal removal of
STREAM_BLUETOOTH_SCO we now do not have values assigner for the
primitive array index belonging to sco. Using SparseArrays offers better
null pointer and invalid index handling.

Flag: com.android.media.audio.replace_stream_bt_sco
Test: atest AudioManagerTest/AudioDeviceVolumeManagerTest/VolumeHelperTest and manual tests
Bug: 345024266
Change-Id: I3d24485fb6285025f403976ba5b9d8cf9338edfb
parent 33b5cb78
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