do not display an error toast if the user leaves the editor with Back

This commit is contained in:
tibbi
2016-10-06 20:55:09 +02:00
parent a7f3bda7bd
commit 0005fb7e0c
2 changed files with 1 additions and 2 deletions

View File

@ -66,6 +66,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
setResult(Activity.RESULT_OK, intent)
} catch (e: Exception) {
Log.e(TAG, "Crop compressing failed $e")
toast(R.string.image_editing_failed)
} finally {
try {
out?.close()