commit | c43464ea5bf15295ddbc30dc03bc70648a80a16a | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Wed Jan 09 11:27:11 2019 -0800 |
committer | Wei Jia <wjia@google.com> | Wed Jan 09 11:27:11 2019 -0800 |
tree | 3d97e6dbd283ee75dbacaac24f676268af9188b9 | |
parent | 18c84ba4ec155b58bdfa397b3fa93fb2b7bda284 [diff] |
GenericSource: restore mLock state in error cases initFromDataSource and onPrepareAsync are called with mLock acquired. When initFromDataSource returns with error, notifyPreparedAndCleanup will be called and it requires mLock acquired. Test: cts Bug: 122564587 Change-Id: I430dbc5f1f30c06223ea22438282bd388174f7df