mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 03:15:39 +01:00
Debug: classifier file size
This commit is contained in:
@@ -759,8 +759,11 @@ public class MessageClassifier {
|
||||
}
|
||||
|
||||
static long getSize(Context context) {
|
||||
File file = getFile(context, false);
|
||||
return (file.exists() ? file.length() : -1L);
|
||||
try {
|
||||
return getFile(context, false).length();
|
||||
} catch (Throwable ignored) {
|
||||
return -1L;
|
||||
}
|
||||
}
|
||||
|
||||
private static class State {
|
||||
|
||||
Reference in New Issue
Block a user