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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14463337

Change-Id: I6d538f857684f661ac22fd8809630561ad0d1b78
This commit is contained in:
Winson Chung
2021-05-11 05:20:41 +00:00
committed by Automerger Merge Worker
@@ -1359,6 +1359,8 @@ public final class LauncherInstrumentation {
}
public int getTotalPssKb() {
// GC the system & sysui first before gc'ing launcher
logShellCommand("cmd statusbar run-gc");
return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB).
getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD);
}