commit | 547789d25dc6bd6561553bcf6b384fb0d4fee834 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Oct 04 11:46:55 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Oct 04 11:46:55 2013 -0700 |
tree | 767ae4b24b4fc71cc547cfa16898f5299d26a6cc | |
parent | 7bab024867996bec6dc4e3e31ed4570da9afbc25 [diff] |
audioflinger: fix wake lock acquisition check Commit e14a5d6 introduced a bug in ThreadBase::acquireWakeLock() where the wake lock acquisition return code is not initialized before being checked causing the wake lock token to be sometines not set and potential failure to release the wake lock later. Bug: 10985160. Change-Id: Iffd40e773ae3bcfec3c148a844d5dbebbf474eaf