Skip to content

Commit 5c3b719

Browse files
committed
Strict mode adjustment
1 parent 0a3a5ed commit 5c3b719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/src/standard/java/com/loopj/android/http/sample/SampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private void setStrictMode() {
2323
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
2424
.detectAll()
2525
.penaltyLog()
26-
.penaltyDeath()
26+
.permitDiskReads()
2727
.build());
2828
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
2929
.detectAll()

0 commit comments

Comments
 (0)