ownsFlashlight

by elias

Version 1 (September 27, 2014)

Download (182 downloads)

Turn on camera flash LED, tap notification OR THE ICON to turn off.
It needs file read and write permissions to accomplish this. A folder is used to indicate the state of the flashlight, acting like a global variable. However, you may see errors in the log. It's tying to set the light to the state it's already in. And since there are no locks it's unavoidable, but not a real issue here - just ignore them.
The folder used: /sdcard/Automate/ownsFlashlight
The parent folder isn't deleted.
Enjoy.