From 33bf78d2864cdf80be25107e84d42ad2604c5d00 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Feb 2021 21:17:03 +0100 Subject: [PATCH] Added large memory class to debug info --- app/src/main/java/eu/faircode/email/Log.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index a908f043ee..d4815b9899 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -1425,8 +1425,8 @@ public class Log { ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo(); am.getMemoryInfo(mi); - sb.append(String.format("Memory class: %d MB/%s\r\n", - am.getMemoryClass(), Helper.humanReadableByteCount(mi.totalMem))); + sb.append(String.format("Memory class: %d/%d MB/%s\r\n", + am.getMemoryClass(), am.getLargeMemoryClass(), Helper.humanReadableByteCount(mi.totalMem))); sb.append(String.format("Storage space: %s/%s App: %s\r\n", Helper.humanReadableByteCount(Helper.getAvailableStorageSpace()),