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

Commit d81486d2 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 04c7923c: am 74913572: am 6fb8fe9a: Merge...

am 04c7923c: am 74913572: am 6fb8fe9a: Merge "StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)"

* commit '04c7923c':
  StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)
parents f2fc4204 04c7923c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -407,17 +407,17 @@ public final class StrictMode {
            }

            /**
             * Enable detection of disk reads.
             * Enable detection of slow calls.
             */
            public Builder detectCustomSlowCalls() {
                return enable(DETECT_CUSTOM);
            }

            /**
             * Enable detection of disk reads.
             * Disable detection of slow calls.
             */
            public Builder permitCustomSlowCalls() {
                return enable(DETECT_CUSTOM);
                return disable(DETECT_CUSTOM);
            }

            /**