Enable memory dump for Launcher
Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
(cherry picked from commit 12baaadeca
)
This commit is contained in:
parent
c22726e067
commit
30caccbbc2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue