From ce114969d0cc9fc22d846471e2d382dab788a9c9 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 31 Oct 2023 10:00:16 +0100 Subject: [PATCH] Debug: manifest meta --- 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 382b77cedd..6321b77157 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -3189,6 +3189,15 @@ public class Log { } size += write(os, "\r\n"); + try { + ApplicationInfo app = pm.getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA); + for (String meta : getExtras(app.metaData)) + size += write(os, String.format("%s\r\n", meta)); + } catch (Throwable ex) { + size += write(os, String.format("%s\r\n", ex)); + } + size += write(os, "\r\n"); + try { int flags = PackageManager.GET_RESOLVED_FILTER; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)