X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=src%2Fro%2Fieval%2Ffonbot%2FUtils.java;h=79ff2e1e37236de3b571e246f434415827527ed0;hb=582cbf066b7c47eecef759ca0755649a6bc0e39e;hp=b29d2454a8e29fc4d0bdefd8d432fd97e867c774;hpb=0f74646f9a4c1e195e2ea3600ae3c03d51fd11d5;p=fonbot.git diff --git a/src/ro/ieval/fonbot/Utils.java b/src/ro/ieval/fonbot/Utils.java index b29d245..79ff2e1 100644 --- a/src/ro/ieval/fonbot/Utils.java +++ b/src/ro/ieval/fonbot/Utils.java @@ -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; } }