From 2759efc61a2de81478c7ac724fbb713bb8cf97aa Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 19 Mar 2020 11:52:09 +0100 Subject: [PATCH] Improved logging --- app/src/main/java/eu/faircode/email/Shortcuts.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Shortcuts.java b/app/src/main/java/eu/faircode/email/Shortcuts.java index a9f346bddd..d7c6f7dd64 100644 --- a/app/src/main/java/eu/faircode/email/Shortcuts.java +++ b/app/src/main/java/eu/faircode/email/Shortcuts.java @@ -59,7 +59,7 @@ public class Shortcuts { int app = ShortcutManagerCompat.getMaxShortcutCountPerActivity(context); int manifest = sm.getManifestShortcuts().size(); int count = app - manifest; - Log.i("Shortcuts count=" + count + " app=" + app + " manifest=" + manifest); + EntityLog.log(context, "Shortcuts count=" + count + " app=" + app + " manifest=" + manifest); DB db = DB.getInstance(context); List emails = new ArrayList<>(); @@ -76,6 +76,7 @@ public class Shortcuts { if (emails.contains(email)) continue; emails.add(email); + EntityLog.log(context, "Shortcut email=" + email); Intent intent = new Intent(context, ActivityMain.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);