commit | aca105cfb4479cf8635baed699daf803648a3fed | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Apr 12 16:29:40 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Jul 19 19:48:02 2013 +0000 |
tree | f01db59b889a714456e0013d390e280f21d1c4a3 | |
parent | 194ea7d9a34e5e064c99b45975530bb3829a5ba2 [diff] |
VolumePreference: fix audio sample playback Handle audio sample start/stop request in a handler to avoid race conditions. If a sample is active, do not ignore playback requests but schedule a second attempt one second later. This is to avoid ignoring a playback request if a sample is short or about to finish. Bug: 8176776. Change-Id: If2d5f7d469eba345af3f4771067a076a56f4bfed