commit | bbc046ed672cfc230c787b31d7a793292a16f476 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Tue Aug 28 10:52:43 2018 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Tue Aug 28 11:22:51 2018 -0700 |
tree | 319369c01856ba1986627367cfdeb3494950347c | |
parent | 6b4eb0e4bd9e83dab1f9dcbc2dc4d0eaf170db95 [diff] |
Camera: support torch control on external camera Claim torch API support though there is no device actually has a flash unit. This is to workaround an issue in camera service where it falls back to legacy camera HAL1 control if the device does not report torch API support (and external camera HAL does not implement HAL1) Test: CtsVerifier FlashLight test Bug: 113336515 Change-Id: I945b35fecfed3b2698b1e9bb1d8faad8699258d2