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

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

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

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

* commit 'd81486d2':
  StrictMode.permitCustomSlowCalls() should call disable(DETECT_CUSTOM)
parents 04c7088a d81486d2
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);
            }

            /**