Don't die
This commit is contained in:
parent
b75a390507
commit
93fc95eb7b
@ -45,7 +45,7 @@ public class PodcastApp extends Application {
|
||||
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder()
|
||||
.detectLeakedSqlLiteObjects()
|
||||
.penaltyLog()
|
||||
.penaltyDeath();
|
||||
.penaltyDropBox();
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
builder.detectActivityLeaks();
|
||||
builder.detectLeakedClosableObjects();
|
||||
|
Loading…
x
Reference in New Issue
Block a user