diff options
| author | 2024-07-12 18:24:08 -0700 | |
|---|---|---|
| committer | 2024-07-22 14:59:55 -0700 | |
| commit | 118ab4d9e6b8a828b3bb733e67c2d898d93e8f0d (patch) | |
| tree | 7d2907f4331fb26de76993e1f48ed27a823e4649 /libs/androidfw/StringPool.cpp | |
| parent | 33b5cb78515fc3dde5b999914d585a2184b57f55 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions