Using StrictMode to detect activity leaks

Change-Id: I615f641897d57be0cd31be944796c6931ef9ab00
This commit is contained in:
vadimt
2020-02-25 14:41:01 -08:00
parent d71c3b185d
commit 1779a38290
4 changed files with 45 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
test.waitForResumed("Launcher internal state is still Background");
// Check that we switched to home.
test.mLauncher.getWorkspace();
AbstractLauncherUiTest.checkDetectedLeaks();
}
// Please don't add negative test cases for methods that fail only after a long wait.