public void removeUsbDevice ( UsbDevice usbDevice ) { Preconditions . checkNotNull ( usbDevice ) ; usbDevices . remove ( usbDevice . getDeviceName ( ) ) ; revokePermission ( usbDevice , RuntimeEnvironment . application . getPackageName ( ) ) ; }
Removes a USB device from available USB devices map .