Skip to content

Add brightness level control to flashlight action #1560

@PabloOQ

Description

@PabloOQ

Developer TODO (don't remove)

  • update documentation
  • Check if this is supported on the device. See documentation for the CameraManager method.

Describe a related problem

When I wake up in the middle of the night, I want to turn the flashlight but at a low level, without leaving the lock screen, so neither blind me. At the same time I want to be able to reuse this shortcut for when I need the flashlight to be really bright.

Describe your suggested feature

Possibility to:

  • Toggle flashlight with a default brightness level value
  • Increase/decrease flashlight current brightness level value
  • A way to tell if the current flashlight level value is the minimum or maximum (for feedback)

Describe alternatives you've considered for your suggested feature

Using apps that expose the controls for brigthness levels (deep link, intent, shortcuts). Sadly I couldn't find any.

Other details

From #1559

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions