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

Commit e5ce80d0 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Debug: Add test for bug 31943543" am: 7c4efe42 am: afe73c0c

am: 28369279

Change-Id: Ieb654b53b62e082e670eac022bcf658b47f1c157
parents af959cda 28369279
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -64,4 +64,12 @@ public class DebugTest extends TestCase {
    public void testGetCallers() {
        assertTrue(callDepth1().matches(EXPECTED_GET_CALLERS));
    }

    /**
     * Regression test for b/31943543. Note: must be run under CheckJNI to detect the issue.
     */
    public void testGetMemoryInfo() {
        Debug.MemoryInfo info = new Debug.MemoryInfo();
        Debug.getMemoryInfo(-1, info);
    }
}