mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
disabling some OTG related code as its handling changed once again
This commit is contained in:
parent
ac26c77351
commit
acdefe7b0a
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue