fix #431, automatically pick Internal at the storage picker, if the only option

This commit is contained in:
tibbi 2021-01-23 17:00:10 +01:00
parent c8f2dd71f0
commit 919d073a03
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.32.27'
implementation 'com.simplemobiletools:commons:5.33.9'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View file

@ -529,7 +529,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
override fun breadcrumbClicked(id: Int) {
if (id == 0) {
StoragePickerDialog(activity as SimpleActivity, currentPath, true) {
StoragePickerDialog(activity as SimpleActivity, currentPath, context!!.config.enableRootAccess, true) {
getRecyclerAdapter()?.finishActMode()
openPath(it)
}

View file

@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong