From 2fd9fd5385e15e3945a71a0fd012aff00dac2d58 Mon Sep 17 00:00:00 2001 From: nafiskabbo Date: Tue, 21 Dec 2021 00:47:28 +0600 Subject: [PATCH] Initial Build --- .idea/vcs.xml | 6 ++++++ .../java/com/kabbodev/imagepicker/utils/StorageUtils.kt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/imagepicker/src/main/java/com/kabbodev/imagepicker/utils/StorageUtils.kt b/imagepicker/src/main/java/com/kabbodev/imagepicker/utils/StorageUtils.kt index cc2a446..d021c62 100644 --- a/imagepicker/src/main/java/com/kabbodev/imagepicker/utils/StorageUtils.kt +++ b/imagepicker/src/main/java/com/kabbodev/imagepicker/utils/StorageUtils.kt @@ -85,7 +85,7 @@ object StorageUtils { fun getImageCollectionUri(): Uri { return sdk29AndUp { - MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY) + MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL) } ?: MediaStore.Images.Media.EXTERNAL_CONTENT_URI }