Skip to content

Commit

Permalink
Merge pull request #1 from trustwallet/uri_crash
Browse files Browse the repository at this point in the history
Fix crash on non hierarchical uri data
  • Loading branch information
vcoolish authored Sep 30, 2022
2 parents ee8b443 + a37cd60 commit 47f03c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void onActivityCreated(Activity activity, Bundle bundle) {
}

Intent intent = activity.getIntent();
if (intent == null || intent.getData() == null) {
if (intent == null || intent.getData() == null || !intent.getData().isHierarchical()) {
return;
}

Expand Down

0 comments on commit 47f03c2

Please sign in to comment.