Merge "Use testapi to trigger gc in system and sysui" into sc-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user