From 59c80c84b174c557941c355d4514f250e77f61f8 Mon Sep 17 00:00:00 2001 From: deji Date: Wed, 22 Nov 2023 09:17:09 +0800 Subject: [PATCH] android 13 cursor.close --- .../src/main/java/com/dmcbig/mediapicker/PickerActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mediapicker/src/main/java/com/dmcbig/mediapicker/PickerActivity.java b/mediapicker/src/main/java/com/dmcbig/mediapicker/PickerActivity.java index a804d30..252edcd 100644 --- a/mediapicker/src/main/java/com/dmcbig/mediapicker/PickerActivity.java +++ b/mediapicker/src/main/java/com/dmcbig/mediapicker/PickerActivity.java @@ -308,6 +308,7 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.e("dmc", "mediaType "+media.mediaType); Log.e("dmc", "time "+media.time); selects.add(media); + cursor.close(); } done(selects); }