change run call for start

pull/69/head
Felipe Herranz 2016-07-18 23:55:03 +02:00 zatwierdzone przez GitHub
rodzic 8bd88ea83b
commit d2d05a781c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -103,7 +103,7 @@ public class UsbService extends Service {
Intent intent = new Intent(ACTION_USB_PERMISSION_GRANTED);
arg0.sendBroadcast(intent);
connection = usbManager.openDevice(device);
new ConnectionThread().run();
new ConnectionThread().start();
} else // User not accepted our USB connection. Send an Intent to the Main Activity
{
Intent intent = new Intent(ACTION_USB_PERMISSION_NOT_GRANTED);