commit | b3e97b347dceb882983427ac872b772e25f3f166 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Tue Oct 02 15:21:31 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Oct 03 11:40:46 2012 -0700 |
tree | 0b2fd5a80b030f988e56f11ebba92c6d9549ed11 | |
parent | ecf17e82505fdb60d59e00b6dd59036df93de655 [diff] |
Camera2: Fix trying to release HAL stream twice When we fail to disconnect the native window, StreamAdapter::release would fail and remain in the old (ALLOCATED) state, thus it thinks that we haven't released the HAL stream yet. With this change, ignore DEAD_OBJECT native window disconnect failures, so the state transitions to RELEASED and we don't double release HAL streams. Bug: 7258314 Change-Id: I524893e4b4d6463d7b0a7ce32fb6f658afba8e11