From 0bd1809863c39489c2b5f8fcc38add7b186f6993 Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Sun, 8 Nov 2020 23:46:56 -0500 Subject: [PATCH] fix missing super call --- app/src/main/java/org/dystopia/email/ActivityView.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/dystopia/email/ActivityView.java b/app/src/main/java/org/dystopia/email/ActivityView.java index 48f8a0ba..94b5df8e 100644 --- a/app/src/main/java/org/dystopia/email/ActivityView.java +++ b/app/src/main/java/org/dystopia/email/ActivityView.java @@ -1076,8 +1076,10 @@ public class ActivityView extends ActivityBase @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.i( - Helper.TAG, - "View onActivityResult request=" + requestCode + " result=" + resultCode + " data=" + data); + Helper.TAG, + "View onActivityResult request=" + requestCode + " result=" + resultCode + " data=" + data); + super.onActivityResult(requestCode, resultCode, data); + if (resultCode == Activity.RESULT_OK) { if (requestCode == REQUEST_ATTACHMENT) { if (data != null) { @@ -1107,7 +1109,7 @@ public class ActivityView extends ActivityBase fos.write(buffer, 0, read); } } catch (FileNotFoundException ex) { - Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex)); + Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex)); } finally { try { if (pfd != null) { @@ -1138,7 +1140,7 @@ public class ActivityView extends ActivityBase @Override protected void onLoaded(Bundle args, Void data) { Toast.makeText(ActivityView.this, R.string.title_attachment_saved, Toast.LENGTH_LONG) - .show(); + .show(); } @Override