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

Commit d193f658 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Use testapi to trigger gc in system and sysui" into sc-dev

parents e74e32ab b09a41d8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1359,6 +1359,8 @@ public final class LauncherInstrumentation {
    }
    }


    public int getTotalPssKb() {
    public int getTotalPssKb() {
        // GC the system & sysui first before gc'ing launcher
        logShellCommand("cmd statusbar run-gc");
        return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB).
        return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB).
                getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD);
                getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD);
    }
    }