NEXT, PREV, BATT, CALLLOG, SMSLOG,
LS, RM, CONTACTS, DISABLE, ENABLE,
POLL, HANGUP, ANSWER, LAUNCH, DATA,
- GPS, GLOCATION, REBOOT, NOTIFY
+ GPS, GLOCATION, REBOOT, NOTIFY, SCREENCAP,
+ TORCH
}
/**
/** Fine battery status notifications */
BATTERY_CHANGED,
/** Headset plug/unplug notifications */
- HEADSET
+ HEADSET,
+ /** Phone booted notifications */
+ BOOT,
}
/**
else
Heavy.notify(context, replyTo, id, toNonNull(args[1]), toNonNull(args[2]));
break;
+
+ case SCREENCAP:
+ if(args.length != 1){
+ Heavy.help(context, replyTo, toNonNull(Command.SCREENCAP));
+ return;
+ }
+
+ Heavy.screencap(context, replyTo, args[0]);
+ break;
+
+ case TORCH:
+ Heavy.torch(context, replyTo);
+ break;
}
}