forked from GitLiveApp/firebase-java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrictMode.java
More file actions
31 lines (27 loc) · 773 Bytes
/
Copy pathStrictMode.java
File metadata and controls
31 lines (27 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package android.os;
public class StrictMode {
public static void setThreadPolicy(ThreadPolicy policy) {
}
public static final class ThreadPolicy {
public static final class Builder {
public Builder detectAll() {
return this;
}
public Builder detectNetwork() {
return this;
}
public Builder detectResourceMismatches() {
return this;
}
public Builder detectUnbufferedIo() {
return this;
}
public Builder penaltyLog() {
return this;
}
public ThreadPolicy build() {
return new ThreadPolicy();
}
}
}
}