]> iEval git - fonbot.git/blobdiff - src/ro/ieval/fonbot/Utils.java
Add BOOT notification
[fonbot.git] / src / ro / ieval / fonbot / Utils.java
index b29d2454a8e29fc4d0bdefd8d432fd97e867c774..79ff2e1e37236de3b571e246f434415827527ed0 100644 (file)
@@ -86,7 +86,8 @@ public final class Utils {
                NEXT, PREV, BATT, CALLLOG, SMSLOG,
                LS, RM, CONTACTS, DISABLE, ENABLE,
                POLL, HANGUP, ANSWER, LAUNCH, DATA,
-               GPS, GLOCATION, REBOOT, NOTIFY, SCREENCAP
+               GPS, GLOCATION, REBOOT, NOTIFY, SCREENCAP,
+               TORCH
        }
 
        /**
@@ -109,7 +110,9 @@ public final class Utils {
                /** Fine battery status notifications */
                BATTERY_CHANGED,
                /** Headset plug/unplug notifications */
-               HEADSET
+               HEADSET,
+               /** Phone booted notifications */
+               BOOT,
        }
 
        /**
@@ -1031,6 +1034,10 @@ public final class Utils {
 
                        Heavy.screencap(context, replyTo, args[0]);
                        break;
+
+               case TORCH:
+                       Heavy.torch(context, replyTo);
+                       break;
                }
 
        }
This page took 0.020599 seconds and 4 git commands to generate.