We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52410be + 097fbf2 commit 6fb8fe9Copy full SHA for 6fb8fe9
core/java/android/os/StrictMode.java
@@ -407,17 +407,17 @@ public Builder permitDiskReads() {
407
}
408
409
/**
410
- * Enable detection of disk reads.
+ * Enable detection of slow calls.
411
*/
412
public Builder detectCustomSlowCalls() {
413
return enable(DETECT_CUSTOM);
414
415
416
417
+ * Disable detection of slow calls.
418
419
public Builder permitCustomSlowCalls() {
420
- return enable(DETECT_CUSTOM);
+ return disable(DETECT_CUSTOM);
421
422
423
0 commit comments