commit | 94df9e6541dd5b303477e7cf0709efccfa4af4b7 | [log] [tgz] |
---|---|---|
author | qimengp <qimengp@codeaurora.org> | Tue Sep 13 16:53:13 2016 +0800 |
committer | Jay Wang <jaywang@codeaurora.org> | Tue Sep 27 10:33:04 2016 -0700 |
tree | 063f6f4b76443aafcbf1cc3436f01e02784b637c | |
parent | aee79a802c9606d16d562b47e6c629967a5047da [diff] |
SnapdragonCamera: Fix ANR during open camera When preview UI destory, app call Camera API as order: setPreviewDispaly(null) and stopPreview(). In case native window disconnected before stopPreview(), will cause ANR, since calling to native window fails. Native window is taken care within camera framework. So, by removing setPreviewDisplay(null), can avoid this issue. Change-Id: Id804f2e0876a61d974e58dd996c46fe769f69856