KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Toggle flashlight when the screen is off

Open k2helix opened this issue 2 years ago • 0 comments

Developer TODO (don't remove)

  • [ ] create new branch. put issue number at start of name
  • [ ] update documentation
  • [ ] merge and delete branch (don't squash because want commit history to see why I made changes)

Hi, I'm trying to create a trigger for the flashlight which works while the screen is off and the app says it is not possible without root. I'm rooted, however I do not understand why it requires this permission as there are apps like Torchie (which you can find on fdroid or the play store) which can do this without root/shizuku. Is root really needed for this? If yes, why can Torchie do it with the accessibility service only? I think that this can be a great feature to add as many ROMs still don't have the hold power button to to toggle torch shortcut.

k2helix avatar Aug 16 '23 17:08 k2helix