Detect all VM policy penalties
This commit is contained in:
parent
8b7eba6698
commit
cb9290fb89
@ -161,8 +161,7 @@ public class FDroidApp extends Application {
|
||||
.penaltyLog()
|
||||
.build());
|
||||
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
|
||||
.detectLeakedSqlLiteObjects()
|
||||
.detectLeakedClosableObjects()
|
||||
.detectAll()
|
||||
.penaltyLog()
|
||||
.build());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user