Detect all VM policy penalties

This commit is contained in:
Daniel Martí committed 2015-09-05 23:35:39 -04:00
1 parent 8b7eba6698
commit cb9290fb89
1 file changed
+1 -2
+1 -2
View File
@@ -161,8 +161,7 @@ public class FDroidApp extends Application {
.penaltyLog()
.build());
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectLeakedSqlLiteObjects()
.detectLeakedClosableObjects()
.detectAll()
.penaltyLog()
.build());
}