Browse Source

fix missing super call

main
Distopico Vegan 4 years ago
parent
commit
0bd1809863
No known key found for this signature in database GPG Key ID: 98093A8072546BF3
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      app/src/main/java/org/dystopia/email/ActivityView.java

+ 6
- 4
app/src/main/java/org/dystopia/email/ActivityView.java View File

@ -1076,8 +1076,10 @@ public class ActivityView extends ActivityBase
@Override @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) { protected void onActivityResult(int requestCode, int resultCode, Intent data) {
Log.i( 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 (resultCode == Activity.RESULT_OK) {
if (requestCode == REQUEST_ATTACHMENT) { if (requestCode == REQUEST_ATTACHMENT) {
if (data != null) { if (data != null) {
@ -1107,7 +1109,7 @@ public class ActivityView extends ActivityBase
fos.write(buffer, 0, read); fos.write(buffer, 0, read);
} }
} catch (FileNotFoundException ex) { } catch (FileNotFoundException ex) {
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
} finally { } finally {
try { try {
if (pfd != null) { if (pfd != null) {
@ -1138,7 +1140,7 @@ public class ActivityView extends ActivityBase
@Override @Override
protected void onLoaded(Bundle args, Void data) { protected void onLoaded(Bundle args, Void data) {
Toast.makeText(ActivityView.this, R.string.title_attachment_saved, Toast.LENGTH_LONG) Toast.makeText(ActivityView.this, R.string.title_attachment_saved, Toast.LENGTH_LONG)
.show();
.show();
} }
@Override @Override


Loading…
Cancel
Save