Detect all VM policy penalties

This commit is contained in:
Daniel Martí 2015-09-05 23:35:39 -04:00
parent 8b7eba6698
commit cb9290fb89

View File

@ -161,8 +161,7 @@ public class FDroidApp extends Application {
.penaltyLog() .penaltyLog()
.build()); .build());
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectLeakedSqlLiteObjects() .detectAll()
.detectLeakedClosableObjects()
.penaltyLog() .penaltyLog()
.build()); .build());
} }