commit | c811a1fdadae6aa466995bc753e2bcbfa376d9a6 | [log] [tgz] |
---|---|---|
author | Likai Ding <likaid@codeaurora.org> | Thu May 29 10:57:34 2014 +0800 |
committer | Likai Ding <likaid@codeaurora.org> | Thu May 29 10:57:34 2014 +0800 |
tree | a7b30483b5dda98f39eae7dcab258cc4b7d3d435 | |
parent | 0542ce1f6f50af1ef45d8623ff3cdc2cc3a92f6b [diff] |
Camera2: fix unresponsive shutter button after failure Shutter button is disabled during capture(). It's only re-enabled in onPicutreTaken() callback. If camera is switched just before counting down finishes, picture taking may fail and shutter button is left disabled. Enabling shutter button in onPreviewStarted() fixes the problem. Change-Id: I92c644e9a0d283f9ab0269b85586f27e0f4eeb1b CRs-Fixed: 667311