Prevent crash

pull/206/head
M66B 4 years ago
parent df8c634796
commit 5622ba5a37

@ -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();

Loading…
Cancel
Save