commit | 10db95b316a29196ce39635682c07a2a414a09e7 | [log] [tgz] |
---|---|---|
author | Niels Egberts <nielse@google.com> | Thu Apr 07 12:34:55 2016 +0100 |
committer | Niels Egberts <nielse@google.com> | Fri Apr 08 11:18:23 2016 +0100 |
tree | 926509fe4699eb9852a9d40828674f85b1589e79 | |
parent | 7492e75ba3a6785c183638392f23a92950498922 [diff] |
Fix issue when QUEUE_DESTROY arrive at the same time. When multiple QUEUE_DESTROY messages arrive in a short timespan, some messages were not flushed. This is because every QUEUE_DESTROY message resets mFlushAll just before it starts playing itself. The solution is to keep a counter of the amount of flushes that are still behind it on the queue and keep flushing until the last one is reached. Bug: 27555444 Change-Id: Ic24aa2250bf684e74b541907e4c57e0d5f0069ca