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:
1 parent
66ac96cd63
commit
b0e0f5f44a
2 files changed
+5
-1
No files matched your search
@@ -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