Skip to content

Commit

Permalink
remove DocumentFile. Prep for first release.
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantan-kgp committed Jan 20, 2021
1 parent 3cf9e39 commit 65b6770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.documentfile:documentfile:1.0.1'

}

Expand Down
5 changes: 2 additions & 3 deletions src/main/java/balti/filex/filex11/utils/Tools.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ import android.os.Environment
import android.os.storage.StorageManager
import android.os.storage.StorageVolume
import android.provider.DocumentsContract
import androidx.documentfile.provider.DocumentFile
import balti.filex.filex11.FileX11
import balti.filex.FileXInit
import balti.filex.FileXInit.Companion.fContext
import balti.filex.exceptions.RootNotInitializedException

object Tools {
internal fun traversePath(
/*internal fun traversePath(
fileX: FileX11,
fileFunc: (uri: Uri, name: String) -> Boolean?,
directoryFunc: ((uri: Uri, name: String) -> Unit)? = null,
Expand All @@ -39,7 +38,7 @@ object Tools {
}
}
return true
}
}*/

private val PRIMARY_VOLUME_NAME = "primary"
private val DOWNLOADS_VOLUME_NAME = "downloads"
Expand Down

0 comments on commit 65b6770

Please sign in to comment.