diff options
author | Amith Yamasani <yamasani@google.com> | 2012-05-30 17:29:28 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-05-30 18:28:08 -0700 |
commit | a654986978c870ed33af2ad696cd6e61d9fed489 (patch) | |
tree | 93db81789469e2a5732aa3c40da9a88efd78112f /docs/html/sdk/api_diff/14/changes | |
parent | 5ab6e12b450d13c8eb501001c7a8669826b86ea4 (diff) |
Protect volumepanel slider creation from race condition.
It is possible for 2 different threads to poke the mStreamControls at the same time,
causing the monkey bug mentioned in the bug report below.
Bug: 6411852
Couldn't think of any other reason Stream type 3 (MUSIC) wouldn't exist in the list.
It's possible that a programmatic call came in at the same time as the volume key press.
Synchronizing blocks where the mStreamControls are populated and accessed.
Change-Id: Ifedec6b0f8bad9634cb9e079fda785c433bdb7a7
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions