mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Adding better diags when SysUI crashes during Launcher test
Test: presubmit; sys ui tests where this rule is already used Bug: 187761685 Change-Id: Ib4491e5c7ebbea0bb3b17fc8c4b3a6c59a3bdb2a
This commit is contained in:
@@ -38,6 +38,7 @@ import android.os.Process;
|
||||
import android.os.RemoteException;
|
||||
import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
import android.platform.test.rule.CrashDetector;
|
||||
import android.system.OsConstants;
|
||||
import android.util.Log;
|
||||
|
||||
@@ -225,6 +226,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
@Rule
|
||||
public TestRule mOrderSensitiveRules = RuleChain
|
||||
.outerRule(new TestStabilityRule())
|
||||
.around(new CrashDetector("com.android.systemui"))
|
||||
.around(mActivityMonitor)
|
||||
.around(getRulesInsideActivityMonitor());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user