Update Activity.kt
This commit is contained in:
parent
3df693319e
commit
5b2bd6097f
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ fun BaseSimpleActivity.isShowingSAFDialog(path: String): Boolean {
|
|||
|
||||
@SuppressLint("InlinedApi")
|
||||
fun BaseSimpleActivity.isShowingSAFDialogSdk30(path: String): Boolean {
|
||||
return if (isAccessibleWithSAFSdk30(path) && !hasProperStoredFirstParentUri(path) && !canManageMedia()) {
|
||||
return if (isAccessibleWithSAFSdk30(path) && !hasProperStoredFirstParentUri(path)) {
|
||||
runOnUiThread {
|
||||
if (!isDestroyed && !isFinishing) {
|
||||
val level = getFirstParentLevel(path)
|
||||
|
|
Loading…
Reference in a new issue