Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d188eded authored by Brad Fitzpatrick's avatar Brad Fitzpatrick
Browse files

StrictMode: shut up VM penalty logging on debug builds.

Thread penalties were just dropboxing, but VM penalties were both
dropboxing *and* logging, and most annoyingly.

Change-Id: Ifc64b642dd0e2b17f0234ce3724650489883f62b
parent 5376c658
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -706,8 +706,7 @@ public final class StrictMode {
            StrictMode.PENALTY_DROPBOX);
        sVmPolicyMask = StrictMode.DETECT_VM_CURSOR_LEAKS |
                StrictMode.DETECT_VM_CLOSABLE_LEAKS |
                StrictMode.PENALTY_DROPBOX |
                StrictMode.PENALTY_LOG;
                StrictMode.PENALTY_DROPBOX;
        setCloseGuardEnabled(vmClosableObjectLeaksEnabled());
        return true;
    }