List of utility methods to do StrictMode Set
void | setStrictMode() set Strict Mode StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() .detectAll().penaltyLog().build()); StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectAll().penaltyLog().build()); |
void | activateStrictMode() activate Strict Mode if (isDebugBuild()) { StrictMode .setThreadPolicy(new StrictMode.ThreadPolicy.Builder() .detectDiskReads() .detectNetwork().penaltyLog() .build()); StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectLeakedSqlLiteObjects() ... |