diff options
author | Eric Laurent <elaurent@google.com> | 2016-04-01 18:14:28 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2016-04-04 12:53:01 -0700 |
commit | d7a267de78771cfc68ce1a3ccef1f2c95f096db4 (patch) | |
tree | b5114eeefe35eec7b63f352d8f660c2c0f132c82 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 063988c40ca328b32198cf35fd99a1fd314ba3da (diff) |
MediaActionSound: fix SoundPool load race condition
If play() was called shortly after load() and before the load
completion callback, the sample was considered
loaded although the SoundPool was not ready to play it.
Fixed by implementing a more robust state machine for sound
load and play control.
Bug: 22499793
Change-Id: I727e07f842a0adc5225dc248f16bc4a7225a1c8e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions