We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d890f57 commit e4d6d53Copy full SHA for e4d6d53
app/src/main/java/me/arianb/usb_hid_client/hid_utils/CharacterDeviceManager.kt
@@ -73,7 +73,7 @@ class CharacterDeviceManager private constructor(private val application: Applic
73
try {
74
withTimeout(3000) {
75
// wait until the device file exists before trying to fix its permissions
76
- while (devicePath.exists()) {
+ while (!devicePath.exists()) {
77
Timber.d("$devicePath doesn't exist yet, sleeping for a bit before trying again...")
78
delay(200)
79
}
0 commit comments