File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
EasyMediaPicker/src/main/java/com/bn/easypicker Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ class EasyPicker(
188188 private var multiImageLauncher =
189189 act.registerForActivityResult(ActivityResultContracts .StartActivityForResult ()) { result ->
190190 if (result.resultCode == Activity .RESULT_OK ) {
191+ Log .v(" Filessss:Data" ," ${result.data} " )
191192 if (result.data?.clipData != null ) {
192193 Log .v(" Filessss" , " ResultOk" )
193194 val count: Int = result.data?.clipData?.itemCount ? : 0
@@ -447,7 +448,7 @@ class EasyPicker(
447448 act.lifecycleScope.launchWhenStarted {
448449 multiImageLauncher
449450 }
450- if (Build .VERSION .SDK_INT >= 30 ) {
451+ if (Build .VERSION .SDK_INT > 30 ) {
451452 val intent = Intent (
452453 Intent .ACTION_PICK ,
453454 MediaStore .Images .Media .INTERNAL_CONTENT_URI
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ class FragmentEasyPicker(
416416
417417 fun chooseMultipleImages () {
418418 if (checkPermission()) {
419- if (Build .VERSION .SDK_INT >= 30 ) {
419+ if (Build .VERSION .SDK_INT > 30 ) {
420420 val intent = Intent (
421421 Intent .ACTION_PICK ,
422422 MediaStore .Images .Media .INTERNAL_CONTENT_URI
You can’t perform that action at this time.
0 commit comments