commit | 47f8f9e73b168c302fbe2b58b956c90e72e97576 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue May 11 05:20:41 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 11 05:20:41 2021 +0000 |
tree | 33c2601e57cda844a80da26b594184b29a532db8 | |
parent | 2ab5979c29ebdd6a970911b95628efacab2a9c63 [diff] | |
parent | d193f65878c39e7df968fb41f52a9c42d5af05f1 [diff] |
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
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 3dff01e..c77583c 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -1359,6 +1359,8 @@ } 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); }