Debug info: zip log files

This commit is contained in:
M66B
2022-11-08 13:45:10 +01:00
parent 078820c7c9
commit 097fb571a2

View File

@@ -2609,6 +2609,8 @@ public class Log {
}
db.attachment().setDownloaded(attachment.id, size);
if (!BuildConfig.DEBUG)
attachment.zip(context);
} catch (Throwable ex) {
Log.e(ex);
}
@@ -2717,6 +2719,8 @@ public class Log {
}
db.attachment().setDownloaded(attachment.id, size);
if (!BuildConfig.DEBUG)
attachment.zip(context);
} finally {
if (proc != null)
proc.destroy();