Skip to content

Commit be63e6f

Browse files
committed
Open data/obb folder in system app on Android 14+
1 parent 645d5d1 commit be63e6f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/main/kotlin/org/fossify/filemanager/fragments/ItemsFragment.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ class ItemsFragment(context: Context, attributeSet: AttributeSet) : MyViewPagerF
186186
if (activity?.isDestroyed == false && activity?.isFinishing == false) {
187187
val config = context!!.config
188188
if (context.isRestrictedSAFOnlyRoot(path)) {
189-
activity?.handleAndroidSAFDialog(path) {
189+
activity?.runOnUiThread { hideProgressBar() }
190+
activity?.handleAndroidSAFDialog(path, openInSystemAppAllowed = true) {
190191
if (!it) {
191192
activity?.toast(R.string.no_storage_permissions)
192193
return@handleAndroidSAFDialog

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ detekt = "1.23.3"
77
androidx-swiperefreshlayout = "1.1.0"
88
androidx-documentfile = "1.0.1"
99
#Fossify
10-
commons = "3dd1f7f33e"
10+
commons = "8439b1b80b"
1111
#Other
1212
autofittextview = "0.2.1"
1313
gestureviews = "2.5.2"

0 commit comments

Comments
 (0)