Added logging

This commit is contained in:
M66B
2021-03-21 20:14:00 +01:00
parent 4f9b2a17bc
commit 339a017114
2 changed files with 2 additions and 0 deletions

View File

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