Remove death penalty from strict mode violations

Change-Id: Ic1d38e15c6b06dbf908c1aac94aa9cb9009f267c
pull/1857/head
Ben Weiss 6 months ago
parent 25d80b4598
commit 7963ef9d5a
No known key found for this signature in database
GPG Key ID: 8424F9C1E763A74C

@ -66,7 +66,7 @@ class NiaApplication : Application(), ImageLoaderFactory {
private fun setStrictModePolicy() {
if (isDebuggable()) {
StrictMode.setThreadPolicy(
Builder().detectAll().penaltyLog().penaltyDeath().build(),
Builder().detectAll().penaltyLog().build(),
)
}
}

Loading…
Cancel
Save