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:
parent
a3ba0f9f6d
commit
25ebb2d3c1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue