Skip to content

Commit f3cf856

Browse files
committed
change LIBUSB_OPTION_ANDROID_JNIENV to LIBUSB_OPTION_NO_DEVICE_DISCOVERY (unsure if correct)
1 parent 86a4d6b commit f3cf856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usbdevice.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ usbdevice::usbdevice(uint32_t index)
5757

5858
#ifdef __ANDROID__
5959
kodi::platform::CInterfaceAndroidSystem system;
60-
libusb_set_option(nullptr, LIBUSB_OPTION_ANDROID_JNIENV, system.GetJNIEnv());
60+
libusb_set_option(nullptr, LIBUSB_OPTION_NO_DEVICE_DISCOVERY /*LIBUSB_OPTION_ANDROID_JNIENV*/, system.GetJNIEnv());
6161
#endif
6262

6363
// Make sure that the specified index is going to correspond with an actual device

0 commit comments

Comments
 (0)