All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.os.StrictMode Maven / Gradle / Ivy

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();
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy