Allow importing binary files on Android 9
The previous check was off by one version. The workaround needs to be applied on Android versions up to *and including* Android 9 (Pie), so it should be applied unless we are on Android >= 10 (Q).
This commit is contained in:
parent
f735763c21
commit
73d736c4cd
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ import org.fossify.commons.helpers.NavigationIcon
|
|||
import org.fossify.commons.helpers.PROTECTION_FINGERPRINT
|
||||
import org.fossify.commons.helpers.SHOW_ALL_TABS
|
||||
import org.fossify.commons.helpers.ensureBackgroundThread
|
||||
import org.fossify.commons.helpers.isPiePlus
|
||||
import org.fossify.commons.helpers.isQPlus
|
||||
import org.fossify.commons.helpers.isTiramisuPlus
|
||||
import org.fossify.commons.models.RadioItem
|
||||
import org.fossify.messages.R
|
||||
|
|
@ -63,7 +63,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
add("application/json")
|
||||
add("application/xml")
|
||||
add("text/xml")
|
||||
if (!isPiePlus()) {
|
||||
if (!isQPlus()) {
|
||||
add("application/octet-stream")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue