Skip to content

Commit b9715a6

Browse files
committed
Update DownloaderActivity.kt
1 parent 6b26187 commit b9715a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples-lib/src/main/java/com/esri/arcgisruntime/sample/sampleslib/DownloaderActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ abstract class DownloaderActivity : AppCompatActivity() {
4949
/**
5050
* Returns the location of the download folder based on the [appName]
5151
*/
52-
fun downloadFolder(appName: String): String{
52+
private fun getDownloadFolder(appName: String): String{
5353
return getExternalFilesDir(null)?.path.toString() + File.separator + appName
5454
}
5555

@@ -68,7 +68,7 @@ abstract class DownloaderActivity : AppCompatActivity() {
6868
provisionURLs: List<String>
6969
) {
7070
// get the path to download files
71-
val samplePath: String = downloadFolder(sampleName)
71+
val samplePath: String = getDownloadFolder(sampleName)
7272
// start the download manager to automatically add the .mmpk file to the app
7373
// alternatively, you can use ADB/Device File Explorer
7474
lifecycleScope.launch {

0 commit comments

Comments
 (0)