A simple widget to use a phone as a flashlight. Tested on Pixel 3a, Pixel 2, Moto Z, Nexus 5, Nexus 4, Galaxy Nexus, Nexus S, Samsung Galaxy S4 and Nexus 10. Explanation for permissions. Take pictures and videos: The Flashlight is technical part of the camera. Prevent phone from sleeping: Needed to reliable use the flashlight while screen is switched off.