commit | f1945f0435e431fab2e6b83337a1ffe71a8df28c | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Oct 17 16:32:34 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Wed Oct 17 19:00:06 2012 -0700 |
tree | e1bbd34d295748d963d352ee0736fc6e37540094 | |
parent | ecfbc952d51c71832f739b7483dcc8cb5fe68038 [diff] |
Camera2: Fix potential deadlock setPreviewWindow was holding a lock during long-lasting HAL calls which may cause deadlock if the HAL calls back into the service during the call. Stop holding the lock during these calls, since it's not essential to do so. Bug: 7320517 Change-Id: I4a35703d751e22ac32979b5a1288e291610576e7