Skip to content

Commit

Permalink
onActivityResult calls super method if extending AppCompatActivity. N…
Browse files Browse the repository at this point in the history
…ecessary for new image gallery plugin
  • Loading branch information
shannah committed Jan 20, 2024
1 parent 9b34539 commit 3934e3e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ public void run() {
}

protected void onActivityResult(int requestCode, int resultCode, Intent data) {

if (this instanceof android.support.v7.app.AppCompatActivity) {
super.onActivityResult(requestCode, resultCode, data);
}
IntentResult response = new IntentResult(requestCode, resultCode, data);
intentResult.add(response);
}
Expand Down

0 comments on commit 3934e3e

Please sign in to comment.