-
Notifications
You must be signed in to change notification settings - Fork 26
How does Torchie work?
Merbin J Anselm edited this page Feb 12, 2016
·
4 revisions
##In Lock screen and Screen On
The 'Torchie Quick' accessibility service captures 'Key Events' and filters that of 'Volume Keys'. By doing &
operation, toggle torch function is called. See VolumeKeyManager.java
##In Screen Off
At screen off, 'Torchie Quick' starts playing a zero-volume music to keep the processor awake. Then, by listening to volume changes (not the key presses), toggle torch function is called. See VolumeRockerManager.java