From e2b319bbab0b77f00bfdf28b8edbc543b2077f6e Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 14 Jun 2023 20:48:40 +0200 Subject: [PATCH] Improved debug info --- app/src/main/java/eu/faircode/email/Log.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 28b236195a..5e4e032937 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -3034,6 +3034,15 @@ public class Log { long size = 0; File file = attachment.getFile(context); try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) { + for (Class cls : new Class[]{ + ActivitySendSelf.class, + ActivitySearch.class, + ActivityAnswer.class, + ReceiverAutoStart.class}) + size += write(os, String.format("%s=%b\r\n", + cls.getSimpleName(), Helper.isComponentEnabled(context, cls))); + size += write(os, "\r\n"); + try { List uperms = context.getContentResolver().getPersistedUriPermissions(); if (uperms != null)