Skip to content

Commit

Permalink
fix(android): avoid camera crash on photo edit cancel (#2776)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Apr 15, 2020
1 parent ee5e283 commit 4b8820d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ protected void handleOnActivityResult(int requestCode, int resultCode, Intent da
isEdited = true;
processPickedImage(savedCall, data);
} else if (resultCode == Activity.RESULT_CANCELED && imageFileSavePath != null) {
imageEditedFileSavePath = null;
isEdited = true;
processCameraImage(savedCall);
}
Expand Down

0 comments on commit 4b8820d

Please sign in to comment.