From 702317acd7f06bbb11d068df63cdcc569078c350 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 23 Aug 2021 08:08:19 +0200 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/ActivityBase.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ActivityBase.java b/app/src/main/java/eu/faircode/email/ActivityBase.java index af9b45d706..fe830c0a61 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBase.java +++ b/app/src/main/java/eu/faircode/email/ActivityBase.java @@ -191,6 +191,14 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc super.onCreate(savedInstanceState); } + @Override + protected void onNewIntent(Intent intent) { + if (intent != null) + EntityLog.log(this, "New " + intent + + " extras=" + TextUtils.join(", ", Log.getExtras(intent.getExtras()))); + super.onNewIntent(intent); + } + @Override protected void onSaveInstanceState(Bundle outState) { int before = Helper.getSize(outState);