diff --git a/app/src/main/java/eu/faircode/email/ActivityBase.java b/app/src/main/java/eu/faircode/email/ActivityBase.java index e2f1bfc798..9d96a353f5 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBase.java +++ b/app/src/main/java/eu/faircode/email/ActivityBase.java @@ -295,6 +295,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc crumb.put("name", this.getClass().getName()); crumb.put("before", Integer.toString(before)); crumb.put("after", Integer.toString(after)); + crumb.put("free", Integer.toString(Log.getFreeMemMb())); Log.breadcrumb("onSaveInstanceState", crumb); for (String key : outState.keySet()) diff --git a/app/src/main/java/eu/faircode/email/FragmentBase.java b/app/src/main/java/eu/faircode/email/FragmentBase.java index 57e06c03ba..89aa5d6885 100644 --- a/app/src/main/java/eu/faircode/email/FragmentBase.java +++ b/app/src/main/java/eu/faircode/email/FragmentBase.java @@ -190,6 +190,7 @@ public class FragmentBase extends Fragment { crumb.put("name", this.getClass().getName()); crumb.put("before", Integer.toString(before)); crumb.put("after", Integer.toString(after)); + crumb.put("free", Integer.toString(Log.getFreeMemMb())); for (String key : outState.keySet()) { Object value = outState.get(key); crumb.put(key, value == null ? "" : value.getClass().getName());