mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Improved debug info
This commit is contained in:
parent
bcffeaa90d
commit
e2b319bbab
1 changed files with 9 additions and 0 deletions
|
@ -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<UriPermission> uperms = context.getContentResolver().getPersistedUriPermissions();
|
||||
if (uperms != null)
|
||||
|
|
Loading…
Reference in a new issue