Skip to content
Commit e7e67fe1 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

SoundEffectsHelper: Update resource info after unloading

SoundEffectsHelper.mResources info needs to be reset
after unloading of samples. Lack of this cleanup is
benign when subsequent resource loading succeeds, but
in case it doesn't having stale info in mResources can
lead to confusion.

Test: atest android.media.cts.AudioManagerTest#testSoundEffects
Change-Id: Ia7a1cc4315bfcf05fa4af915c4ad690183ed4368
parent d262298b
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