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

Skip to content
Commit 265a0690 authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Turn off torch at provider startup

Flashlight could be stuck at ON after system_server crashes
(which results in cameraserver to restart).
As a workaround, turn flash off at the provider start.

Alternative considered: restart HAL process when cameraserver
restarts. However, even with that, some device still fails to
turn off flashlight.

Test: Camera CTS, kill system_server with flash on
Bug: 247038031
Change-Id: I8a49ce8a541dc0537348dc16b3b48b96b10c89f6
parent 861cba83
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