Enable memory dump for Launcher

Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
This commit is contained in:
Yuchen He committed 2020-07-29 17:15:09 +00:00
1 parent 854deace36
commit 12baaadeca
1 file changed
+1 -2
@@ -116,8 +116,7 @@ public abstract class AbstractLauncherUiTest {
if (TestHelpers.isInLauncherProcess()) {
StrictMode.VmPolicy.Builder builder =
new StrictMode.VmPolicy.Builder()
// b/154772063
// .detectActivityLeaks()
.detectActivityLeaks()
.penaltyLog()
.penaltyListener(Runnable::run, violation -> {
if (sStrictmodeDetectedActivityLeak == null) {