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

Skip to content
Commit 47a42bf7 authored by Dominggoes Isakh's avatar Dominggoes Isakh Committed by Michael Bestas
Browse files

Move wakelock option for flashlight to CameraManager.

On some legacy devices, the flashlight can't stay on when screen is off.
With this change, the flashlight can use wakelock. For obvious reasons,
this is turned off by default and needs to be enabled using the overlay.
See: https://review.lineageos.org/#/c/64929/

The wakelock-code and overlay is moved to CameraManager to be also effective
for the new long-press power torch feature.

BUGBASH-179

Change-Id: Iee905d4e5ca7a69219d9753167213fcb80d7c19e
parent ad1ea62b
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