mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Removing pss checks in memory tests
Test: presubmit Bug: 185181057 Change-Id: I4f504f9540b80c62cd3f1024ff1d1b57102f2ed6
This commit is contained in:
@@ -138,7 +138,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
// Check whether activity leak detector has found leaked activities.
|
||||
Wait.atMost(AbstractLauncherUiTest::getActivityLeakErrorMessage,
|
||||
() -> {
|
||||
launcher.getTotalPssKb(); // Triggers GC
|
||||
launcher.forceGc();
|
||||
return MAIN_EXECUTOR.submit(
|
||||
() -> ACTIVITY_LEAK_TRACKER.noLeakedActivities()).get();
|
||||
}, DEFAULT_UI_TIMEOUT, launcher);
|
||||
|
||||
Reference in New Issue
Block a user