Created
May 21, 2016 16:25
-
-
Save dante-byte/0f9cb9e0af8703773f6c2ce02a21bdbb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void onCreate(Bundle savedInstanceState) { | |
... | |
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); | |
StrictMode.setThreadPolicy(policy); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment