commit | 741fd4d9070c1dbe9ff297a8a3fc6317c3808482 | [log] [tgz] |
---|---|---|
author | Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com> | Mon Sep 14 11:00:33 2015 +0200 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Wed Oct 07 14:28:19 2015 +0200 |
tree | 172cac13cf08e9012cd234b151940fbbfa795399 | |
parent | 9589b4683cbce551eaafde67cb2af94773a9f51d [diff] |
Fix setTorchMode support for the old HAL version CameraHardwareInterfaceFlashControl class calls disconnectCameraDevice when torch is disabled. This closes connection to the camera module, but mDevice instance is kept and variable is non-NULL which will prevent connection next time torch is going to be enabled. Change-Id: Icb1ffb07f05256afd92821f0f4908cda5332c05b