Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8a4a0ac6 authored by Oleksiy Avramchenko's avatar Oleksiy Avramchenko Committed by Chien-Yu Chen
Browse files

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
parent 036b6593
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment