Skip to content

Commit

Permalink
[HMS-Core#196] Update MapUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
winnievips authored Nov 5, 2024
1 parent 8c51815 commit 2281a8a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public static JSONObject fromBundle(Bundle bundle) throws JSONException {
map.put(key, value);
} else if (value instanceof Bundle) {
map.put(key, fromBundle((Bundle) value));
} else if (value instanceof Uri) {
map.put(key, value.toString());
} else {
throw new IllegalArgumentException("Could not convert " + value.getClass());
}
Expand Down

0 comments on commit 2281a8a

Please sign in to comment.