commit | 2d8ebd8a55389edea426266ddbb103b5739bab66 | [log] [tgz] |
---|---|---|
author | Mansoor Aftab <maftab@codeaurora.org> | Tue Mar 31 00:09:41 2015 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Tue Mar 31 13:22:46 2015 -0700 |
tree | 77c64ecfa806647d745a16791615c3669e5d8e1e | |
parent | ddce1b5fad2d53f2c89105167212cb269e8f13d7 [diff] |
QCamera2: Add HAL support for flashlight Implemented new API at HAL, allowing framework to turn on flash devices independently of the sensor. The primary logic is implemented as a singleton named QCameraFlash, which tracks the state of any flash devices and interfaces with the driver to turn them on or off. Change-Id: I4452e65401140e28aa86184800857a423c9c4b09