Skip to content

Commit 290f20b

Browse files
author
LaksCastro
committed
Merge branch 'master' of https://github.com/LaksCastro/shared-storage into docs/FULL-DOCS
2 parents 40bc8bf + b0d26aa commit 290f20b

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.pubignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.buildlog/
99
.history
1010
.svn/
11+
.github/
1112

1213
# IntelliJ related
1314
*.iml
@@ -16,10 +17,8 @@
1617
.idea/
1718
*/**/local.properties
1819
loca.properties
19-
# The .vscode folder contains launch configuration and tasks you configure in
20-
# VS Code which you may wish to be included in version control, so this line
21-
# is commented out by default.
22-
#.vscode/
20+
.vscode/
21+
.site/
2322

2423
*/**/.metadata
2524
.metadata

android/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
repositories {
77
google()
88
jcenter()
9+
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
910
}
1011

1112
dependencies {
@@ -44,4 +45,9 @@ dependencies {
4445
* computation and queries outside the Main (UI) Thread
4546
*/
4647
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
48+
49+
/**
50+
* `SimpleStorage` library
51+
*/
52+
implementation "com.anggrayudi:storage:1.3.0"
4753
}

android/src/main/kotlin/io/lakscastro/sharedstorage/storageaccessframework/lib/DocumentCommon.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ import android.os.Build
88
import android.provider.DocumentsContract
99
import android.util.Base64
1010
import androidx.annotation.RequiresApi
11+
import androidx.annotation.RestrictTo
1112
import androidx.documentfile.provider.DocumentFile
1213
import io.lakscastro.sharedstorage.plugin.API_19
1314
import io.lakscastro.sharedstorage.plugin.API_21
1415
import io.lakscastro.sharedstorage.plugin.API_24
1516
import java.io.ByteArrayOutputStream
1617
import java.io.Closeable
18+
import java.io.File
1719

1820
/**
1921
* Helper class to make more easy to handle callbacks using Kotlin syntax

0 commit comments

Comments
 (0)