Merge pull request #117131 from syntaxerror247/fixing-my-blunder
Android: Fix FileAccess crash when using treeUri in Gradle-built apps
This commit is contained in:
commit
19726167ce
3 changed files with 3 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ dependencies {
|
|||
|
||||
implementation "androidx.fragment:fragment:$versions.fragmentVersion"
|
||||
implementation "androidx.core:core-splashscreen:$versions.splashscreenVersion"
|
||||
implementation "androidx.documentfile:documentfile:$versions.documentfileVersion"
|
||||
|
||||
if (rootProject.findProject(":lib")) {
|
||||
implementation project(":lib")
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ ext.versions = [
|
|||
kotlinTestVersion : '1.3.11',
|
||||
testRunnerVersion : '1.7.0',
|
||||
testOrchestratorVersion: '1.6.1',
|
||||
documentfileVersion: '1.1.0',
|
||||
]
|
||||
|
||||
ext.getExportPackageName = { ->
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ apply from: "../scripts/publish-module.gradle"
|
|||
|
||||
dependencies {
|
||||
implementation "androidx.fragment:fragment:$versions.fragmentVersion"
|
||||
implementation 'androidx.documentfile:documentfile:1.1.0'
|
||||
implementation "androidx.documentfile:documentfile:$versions.documentfileVersion"
|
||||
|
||||
testImplementation "junit:junit:4.13.2"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue