Skip to content

Commit 782a4ba

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
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

0 commit comments

Comments
 (0)