mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user