Small improvements

pull/160/head
M66B 5 years ago
parent 02435d79c0
commit d3cd10df38

@ -83,7 +83,7 @@ import javax.mail.Part;
import javax.mail.internet.InternetAddress; import javax.mail.internet.InternetAddress;
public class Log { public class Log {
static final String TAG = "fairemail"; private static final String TAG = "fairemail";
public static int d(String msg) { public static int d(String msg) {
if (BuildConfig.DEBUG) if (BuildConfig.DEBUG)
@ -739,7 +739,7 @@ public class Log {
} }
static long getFreeMem() { private static long getFreeMem() {
Runtime rt = Runtime.getRuntime(); Runtime rt = Runtime.getRuntime();
long used = (rt.totalMemory() - rt.freeMemory()); long used = (rt.totalMemory() - rt.freeMemory());
long max = rt.maxMemory(); long max = rt.maxMemory();

Loading…
Cancel
Save