diff options
author | Mikhail Naganov <mnaganov@google.com> | 2020-06-25 22:27:17 +0000 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2020-06-25 22:32:08 +0000 |
commit | e7e67fe15579a028d87a7aa61b2453fcf5e94dae (patch) | |
tree | 42d9972914dd50008538a0dde070cf6e5a6ddfbd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d262298b0086fa66323fb41ed7d2453b1bc7a02d (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions