commit | 81f6e3b2ee700f9d21f7b7e9727b59a5b5ff6af0 | [log] [tgz] |
---|---|---|
author | Mansoor Aftab <maftab@codeaurora.org> | Wed Apr 22 16:07:39 2015 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Fri Apr 24 16:13:53 2015 -0700 |
tree | 7103ec27da3a3fe05bd3151dc13a79f766e4caed | |
parent | 781d09487f0d8efcd56deb3687a7d67715f6cc53 [diff] |
QCamera2: Suppress torch mode status change for camera without a flash When the camera is opened, a callback is triggered to reserve the camera's flash for camera usage only. Previously, the callback would happen even if there is no flash associated with the camera. Now, the callback is suppressed for any camera which does not have a flash. Bug: 20069129 Change-Id: I816737b3b7c4976db84bbbe0e71658ababa804f7