disabling some OTG related code as its handling changed once again

This commit is contained in:
tibbi 2019-09-08 11:25:45 +02:00
parent ac26c77351
commit acdefe7b0a

View file

@ -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()
}
}
}
}*/
}
}
}