Add torch command
[fonbot.git] / src / ro / ieval / fonbot / Utils.java
index b29d2454a8e29fc4d0bdefd8d432fd97e867c774..0c309b0ac2e9f67742b8488e6ebbab825b4e61a9 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
        }
 
        /**
@@ -1031,6 +1032,10 @@ public final class Utils {
 
                        Heavy.screencap(context, replyTo, args[0]);
                        break;
+
+               case TORCH:
+                       Heavy.torch(context, replyTo);
+                       break;
                }
 
        }
This page took 0.009743 seconds and 4 git commands to generate.