Skip to content

Commit

Permalink
Update ImagePickerJNI.java
Browse files Browse the repository at this point in the history
  • Loading branch information
baochungit committed Jul 16, 2024
1 parent 1c98f82 commit d3fa537
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit d3fa537

Please sign in to comment.