mirror of https://git.sr.ht/~rabbits/uxn
android: sync SDL android parts
This commit is contained in:
parent
eba4a601be
commit
b581e59f62
|
@ -141,6 +141,9 @@ public class HIDDeviceManager {
|
||||||
|
|
||||||
private void initializeUSB() {
|
private void initializeUSB() {
|
||||||
mUsbManager = (UsbManager)mContext.getSystemService(Context.USB_SERVICE);
|
mUsbManager = (UsbManager)mContext.getSystemService(Context.USB_SERVICE);
|
||||||
|
if (mUsbManager == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Logging
|
// Logging
|
||||||
|
|
Loading…
Reference in New Issue