diff --git a/gradle.properties b/gradle.properties index 963fc9e..8df341e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,4 +21,4 @@ android.enableJetifier=true kotlin.code.style=official GROUP=com.anggrayudi POM_ARTIFACT_ID=storage -VERSION_NAME=1.4.0-SNAPSHOT \ No newline at end of file +VERSION_NAME=1.4.1-SNAPSHOT \ No newline at end of file diff --git a/storage/src/main/java/com/anggrayudi/storage/SimpleStorage.kt b/storage/src/main/java/com/anggrayudi/storage/SimpleStorage.kt index 00f5721..973ccc8 100644 --- a/storage/src/main/java/com/anggrayudi/storage/SimpleStorage.kt +++ b/storage/src/main/java/com/anggrayudi/storage/SimpleStorage.kt @@ -471,7 +471,7 @@ class SimpleStorage private constructor(private val wrapper: ComponentWrapper) { fun onSaveInstanceState(outState: Bundle) { outState.putString(KEY_LAST_VISITED_FOLDER, lastVisitedFolder.path) outState.putString(KEY_EXPECTED_BASE_PATH_FOR_ACCESS_REQUEST, expectedBasePathForAccessRequest) - outState.putInt(KEY_REQUEST_CODE_STORAGE_ACCESS, expectedStorageTypeForAccessRequest.ordinal) + outState.putInt(KEY_EXPECTED_STORAGE_TYPE_FOR_ACCESS_REQUEST, expectedStorageTypeForAccessRequest.ordinal) outState.putInt(KEY_REQUEST_CODE_STORAGE_ACCESS, requestCodeStorageAccess) outState.putInt(KEY_REQUEST_CODE_FOLDER_PICKER, requestCodeFolderPicker) outState.putInt(KEY_REQUEST_CODE_FILE_PICKER, requestCodeFilePicker)