From 98396f421f350649777fde3eeddb747326639c81 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 9 Oct 2024 10:42:40 +0200 Subject: [PATCH] Add debug info --- app/src/main/java/eu/faircode/email/ActivityCompose.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityCompose.java b/app/src/main/java/eu/faircode/email/ActivityCompose.java index 7a2f6e5aec..f0d69b1011 100644 --- a/app/src/main/java/eu/faircode/email/ActivityCompose.java +++ b/app/src/main/java/eu/faircode/email/ActivityCompose.java @@ -132,7 +132,11 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB private void handle(Intent intent, boolean create) { Bundle args; String action = intent.getAction(); - Log.i("Handle action=" + action + " create=" + create + " " + this); + Log.i("Handle action=" + action + + " shared=" + isShared(action) + + " create=" + create + + " uri=" + intent.getData() + + " " + this); if (isShared(action)) { args = new Bundle(); @@ -281,6 +285,8 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB } else args = intent.getExtras(); + Log.logBundle(args); + FragmentManager fm = getSupportFragmentManager(); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); boolean attach_new = prefs.getBoolean("attach_new", true);