mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 20:03:52 +01:00
Prevent crash
This commit is contained in:
@@ -5304,6 +5304,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
}
|
||||
|
||||
private void updateDebugInfo() {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
long hused = rt.totalMemory() - rt.freeMemory();
|
||||
long hmax = rt.maxMemory();
|
||||
|
||||
Reference in New Issue
Block a user