From d3fa5371055cd7571e0e6cc880e8f7f397a887bc Mon Sep 17 00:00:00 2001 From: Chung Xa Date: Tue, 16 Jul 2024 23:39:14 +0700 Subject: [PATCH] Update ImagePickerJNI.java --- .../src/java/com/defold/imagepicker/ImagePickerJNI.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/imagepicker/src/java/com/defold/imagepicker/ImagePickerJNI.java b/imagepicker/src/java/com/defold/imagepicker/ImagePickerJNI.java index 6cba1cb..9b51ade 100644 --- a/imagepicker/src/java/com/defold/imagepicker/ImagePickerJNI.java +++ b/imagepicker/src/java/com/defold/imagepicker/ImagePickerJNI.java @@ -43,16 +43,13 @@ public void run() { @Override public boolean handleMessage(Message msg) { - boolean handled = false; Bundle data = msg.getData(); boolean success = data.getBoolean(MSG_KEY_SUCCESS, false); if (success) { String uri = data.getString(MSG_KEY_URI); Log.d(TAG, uri); this.onDone(uri); - } else { - this.onDone(""); } - return handled; + return true; } }