commit | 8a4a0ac6545f53a9ec4af6074caf0e935b08ffbe | [log] [tgz] |
---|---|---|
author | Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com> | Mon Sep 14 11:00:33 2015 +0200 |
committer | Chien-Yu Chen <cychen@google.com> | Wed Oct 14 10:49:17 2015 -0700 |
tree | a07274e6959d497d9aabe1dbc991279218d8a1d8 | |
parent | 036b6593eec6ced2f34293e8407f1cb86ae1e75f [diff] |
DO NOT MERGE: 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. Bug: 24909924 Change-Id: Icb1ffb07f05256afd92821f0f4908cda5332c05b