From 3978b2d4683742824d65c94ccd99137c6e087fb5 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 17 Dec 2022 19:35:43 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 93945e1c92..ae878a694f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -1277,6 +1277,9 @@ public class FragmentCompose extends FragmentBase { if (!auto_identity) return null; + EntityLog.log(context, "Select identity email=" + email + + " sent=" + suggest_sent + " received=" + suggest_received); + List types = new ArrayList<>(); if (suggest_sent) types.add(EntityContact.TYPE_TO); @@ -1288,6 +1291,8 @@ public class FragmentCompose extends FragmentBase { DB db = DB.getInstance(context); List identities = db.contact().getIdentities(email, types); + EntityLog.log(context, "Selected identity email=" + email + + " identities=" + (identities == null ? null : identities.size())); if (identities != null && identities.size() == 1) return identities.get(0);