Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #350 from mapzen/chuck/remove-external-storage-per…
Browse files Browse the repository at this point in the history
…missions

Remove scary external storage permissions on all platform versions
  • Loading branch information
baldur committed Nov 7, 2014
2 parents 86df5a5 + 9ea92ce commit bc636a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />

<application
android:name=".MapzenApplication"
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/mapzen/open/core/StyleDownLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public void download() {
(new AsyncTask<Void, Void, Void>() {
@Override
protected Void doInBackground(Void... params) {
if (client == null) {
return null;
}

URL url = null;
try {
url = new URL(host + "manifest");
Expand Down

0 comments on commit bc636a8

Please sign in to comment.