Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6edb5c66 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Improve low on RAM reporting.

- Don't print every little native process.
- Print in different sections, so if one is too long we don't get the
  rest truncated in the log.
- Include other info from meminfo -- ksm and free/used/lost summary.

Change-Id: Iea4ec3860212667e195d2b60b3ded23bfec78436
parent c1c86151
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -106,4 +106,8 @@ public final class MemInfoReader {
    public long getZramTotalSizeKb() {
        return mInfos[Debug.MEMINFO_ZRAM_TOTAL];
    }

    public long[] getRawInfo() {
        return mInfos;
    }
}
+301 −219

File changed.

Preview size limit exceeded, changes collapsed.