Skip to content

Commit

Permalink
fix(android): avoid camera crash on photo edit cancel
Browse files Browse the repository at this point in the history
closes #2766
  • Loading branch information
jcesarmobile authored Apr 15, 2020
1 parent ee5e283 commit 2ad426b
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 2ad426b

Please sign in to comment.