You are viewing a single comment's thread.

view the rest of the comments →

[–] prairie 0 points 4 points (+4|-0) ago  (edited ago)

Flashlight Widget by David Medenjak (Android). Permissions are just camera, control flashlight, and prevent device from sleeping. Simple widget on the home screen, tap to toggle light. 24k executable. I went through a lot of flashlight apps until I found this one.

[–] Mylon 0 points 1 points (+1|-0) ago 

Why does it need the camera? 24k could be enough to send pictures back home. Internet access isn't a "permission".

[–] weezkitty 0 points 10 points (+10|-0) ago 

Because the "flashlight" is technically the camera flash and it is accessed through the camera API https://stackoverflow.com/questions/6068803/how-to-turn-on-front-flash-light-programmatically-in-android/40748375

[–] prairie 0 points 1 points (+1|-0) ago 

It looks like it probably uses two permissions to deal with differing versions of Android. I'm guessing that on older ones, it was more coarse-grained and all camera operations were under one permission, and on later versions, there was a more fine-grained control flashlight permission.