From dc6cab7edb14a26b61a91bbdc298dc4243595e87 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 21 Jul 2020 22:38:22 +0200 Subject: [PATCH] Improved logging --- app/src/main/java/eu/faircode/email/Helper.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index 02349071e4..5ef708f111 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -520,9 +520,10 @@ public class Helper { } static void view(Context context, Uri uri, boolean browse, boolean task) { - Log.i("View=" + uri); + boolean has = hasCustomTabs(context, uri); + Log.i("View=" + uri + " browse=" + browse + " task=" + task + " has=" + has); - if (browse || !hasCustomTabs(context, uri)) { + if (browse || !has) { try { Intent view = new Intent(Intent.ACTION_VIEW, uri); if (task)