Not showing "mismatched events" and other diags after Launcher crashes

Change-Id: Iee5f8813c3610314d486589bc361466a05da0ecb
This commit is contained in:
vadimt
2020-02-26 12:17:47 -08:00
parent d71c3b185d
commit da12b805cc
2 changed files with 34 additions and 5 deletions

View File

@@ -120,6 +120,8 @@ public abstract class AbstractLauncherUiTest {
checkLauncherIntegrity(launcher, containerType)));
}
mLauncher.enableDebugTracing();
// Avoid double-reporting of Launcher crashes.
mLauncher.setOnLauncherCrashed(() -> mLauncherPid = 0);
}
protected final LauncherActivityRule mActivityMonitor = new LauncherActivityRule();