diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index 3f6993df1..63f6c8922 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -409,14 +409,15 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { config.addIncludedFolder(otgPath) } - if (config.OTGPath.isEmpty()) { + // OTG handling has been changed again in SDK version 28, the old method no longer works + /*if (config.OTGPath.isEmpty()) { runOnUiThread { ConfirmationDialog(this, getString(R.string.usb_detected), positive = R.string.ok, negative = 0) { config.wasOTGHandled = true showOTGPermissionDialog() } } - } + }*/ } } }