refactoring

This commit is contained in:
Giemsa 2016-10-24 00:36:56 +09:00 committed by Samuel Carlsson
parent 76c9045b0c
commit af7b8ec5ab

View File

@ -48,8 +48,7 @@ public class JadbConnection implements ITransportFactory {
new Thread(new Runnable() {
@Override
public void run() {
try
{
try {
devices.send("host:track-devices");
devices.verifyResponse();
boolean r = false;
@ -65,6 +64,7 @@ public class JadbConnection implements ITransportFactory {
}
}
}).start();
return new DeviceDetectionHandler(devices);
}