Enable memory dump for Launcher

Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
(cherry picked from commit 12baaadeca)
This commit is contained in:
Yuchen He 2020-07-29 17:15:03 +00:00
parent c22726e067
commit 30caccbbc2
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,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) {