Disable strictmode leak detection

It doesn't work; the check was enabled by mistake.

Test: presubmit
Bug: 185786290
Change-Id: Ie049f1d6d7cef5acfa3ee29b5f9e9586fbeb24a5
This commit is contained in:
vadimt 2021-04-19 11:01:45 -07:00
parent a3ba0f9f6d
commit 25ebb2d3c1
1 changed files with 0 additions and 1 deletions

View File

@ -115,7 +115,6 @@ public abstract class AbstractLauncherUiTest {
if (TestHelpers.isInLauncherProcess()) {
StrictMode.VmPolicy.Builder builder =
new StrictMode.VmPolicy.Builder()
.detectActivityLeaks()
.penaltyLog()
.penaltyListener(Runnable::run, violation -> {
if (sStrictmodeDetectedActivityLeak == null) {