Skip to content

Instantly share code, notes, and snippets.

@patrickhammond
Created January 29, 2016 20:20
Show Gist options
  • Save patrickhammond/0f1d9807365a107c101e to your computer and use it in GitHub Desktop.
Save patrickhammond/0f1d9807365a107c101e to your computer and use it in GitHub Desktop.
StrictMode policy violation; ~duration=1436 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=1114143 violation=2
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
at libcore.io.BlockGuardOs.access(BlockGuardOs.java:67)
at java.io.File.doAccess(File.java:281)
at java.io.File.exists(File.java:361)
at android.app.ContextImpl.createFilesDirLocked(ContextImpl.java:418)
at android.app.ContextImpl.getCacheDir(ContextImpl.java:503)
at android.content.ContextWrapper.getCacheDir(ContextWrapper.java:233)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment