Eric Laurent
d7a267de78
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
2016-04-04 12:53:01 -07:00
..
2016-03-16 12:15:43 -07:00
2016-04-04 11:14:10 +09:00
2016-03-01 19:29:16 -07:00
2016-03-02 23:30:53 +09:00
2016-03-01 19:29:16 -07:00
2016-04-01 09:51:27 -07:00
2016-02-08 19:24:19 +00:00
2016-03-21 09:50:18 -06:00
2016-02-18 10:16:07 -08:00
2016-02-22 17:29:32 -08:00
2016-03-21 11:15:02 -07:00
2016-04-01 21:48:41 +00:00
2016-02-26 11:11:30 -08:00
2016-03-17 14:22:53 +00:00
2016-03-07 16:05:51 -08:00
2016-03-07 16:05:51 -08:00
2016-01-15 15:59:37 -07:00
2016-02-26 10:15:07 -07:00
2016-02-29 12:20:43 -08:00
2016-01-28 17:19:11 -08:00
2016-04-01 17:23:19 -07:00
2016-01-15 15:59:37 -07:00
2015-12-07 21:46:40 +09:00
2015-12-07 21:46:40 +09:00
2016-01-27 20:42:27 -08:00
2016-04-01 11:53:14 +09:00
2016-03-07 16:05:51 -08:00
2015-12-09 11:20:32 -08:00
2016-03-08 13:21:36 -08:00
2015-12-09 11:20:32 -08:00
2016-03-08 13:21:36 -08:00
2016-03-22 15:21:01 -07:00
2016-03-07 16:05:51 -08:00
2016-03-05 17:23:32 -07:00
2016-04-04 12:53:01 -07:00
2016-03-05 11:53:23 -08:00
2016-04-01 18:02:41 +00:00
2016-03-11 16:35:06 +00:00
2016-04-01 16:25:53 -07:00
2016-01-27 18:40:36 +09:00
2016-03-14 22:27:13 +00:00
2016-01-06 10:19:35 -07:00
2016-03-21 12:37:57 -06:00
2015-11-26 13:33:48 +00:00
2016-03-31 16:38:18 +00:00
2016-03-03 10:02:19 -08:00
2016-02-17 12:37:11 -08:00
2016-02-29 16:06:27 +09:00
2015-12-09 14:04:09 +09:00
2016-03-05 17:43:22 -07:00
2015-10-01 20:48:23 +00:00
2016-02-29 16:06:27 +09:00
2015-11-23 23:16:04 +00:00
2015-11-23 23:16:04 +00:00
2016-03-09 14:56:01 -07:00
2015-11-16 17:58:32 -08:00
2015-09-29 15:22:40 +01:00
2016-01-19 09:43:35 +09:00
2016-01-27 12:21:00 -08:00
2016-02-29 16:06:27 +09:00