diff --git a/ClientLib/src/main/java/org/droidplanner/services/android/impl/communication/connection/usb/UsbCDCConnection.java b/ClientLib/src/main/java/org/droidplanner/services/android/impl/communication/connection/usb/UsbCDCConnection.java index b75eae65fd..0004a9d32f 100644 --- a/ClientLib/src/main/java/org/droidplanner/services/android/impl/communication/connection/usb/UsbCDCConnection.java +++ b/ClientLib/src/main/java/org/droidplanner/services/android/impl/communication/connection/usb/UsbCDCConnection.java @@ -126,8 +126,8 @@ protected void openUsbConnection(Bundle extras) throws IOException { } else { removeWatchdog(); - scheduler = Executors.newSingleThreadScheduledExecutor(); - scheduler.schedule(permissionWatchdog, 15, TimeUnit.SECONDS); + //scheduler = Executors.newSingleThreadScheduledExecutor(); + //scheduler.schedule(permissionWatchdog, 15, TimeUnit.SECONDS); Log.d(TAG, "Requesting permission to access usb device " + device.getDeviceName()); manager.requestPermission(device, usbPermissionIntent); }