commit | 151e3be07d27883ee590a4c4765077ffea16c954 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> | Tue Nov 28 16:34:18 2017 +0100 |
committer | Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> | Mon Dec 11 10:45:35 2017 +0100 |
tree | d5674b073241be20113e36af6466ccba1e88eeb0 | |
parent | d9272a936e92e8142a32e5a4b4af777ef7ab06c8 [diff] |
CameraService: Update camera and torch state lists also at runtime The Camera subsystem maintains lists of camera and torch states, that are updated during Camera Provider enumeration. These lists have to be updated at runtime when a camera is plugged in or unplugged too. Reuse the same code for both cases. Also fix a bogus PRESENT callback in stopCameraOps. Change-Id: I9028a3b25d8d983441e89d52a354bed61e3f8976 Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>