Improved debug info

pull/213/head
M66B 2 years ago
parent bcffeaa90d
commit e2b319bbab

@ -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…
Cancel
Save