private void handleDeviceOnline(AdbDevice device) { log("device online: " + device.getSerial()); device.openSocket("shell:exec logcat"); }