I noticed comments on other flashlight apps where people weren’t happy with the apps having permission to modify system settings. I just added this permission to my FlashLight app so I’ll explain why. With the EVO I tested with for a few minutes, I was unable to modify the screen brightness. Temporarily disabling auto brightness should allow things to work fine. But, auto brightness mode is a system setting, so doing this requires permission to modify the system settings.
If Android permissions reported had finer granularity, it would be more obvious that the FlashLight app really only needs to change the auto brightness setting. That’s something that would be nice for a later Android release.
Here’s how it’s used:
FlashLight stores your original auto brightness setting before temporarily disabling it. It restores the setting anytime FlashLight is not showing on the screen. If somehow the phone crashes or loses power while showing FlashLight on the screen, the FlashLight app will still restore your setting the next time it runs.