summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fietz <martin.fietz@gmail.com>2017-08-13 18:10:16 +0200
committerMartin Fietz <martin.fietz@gmail.com>2017-08-13 18:10:16 +0200
commit657a91b036aa86d94734f8b0ef88a036ec5a48a5 (patch)
tree19b661cf9ba3ba5abf88eb216a0422b1597e943a
parente010a8d22e1fb7fb0feef0f3ddff5728d6b01fa0 (diff)
parent143fa2e96f9259dd3312aee4ef099ad2d78aa189 (diff)
downloadAntennaPod-657a91b036aa86d94734f8b0ef88a036ec5a48a5.zip
Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop
-rw-r--r--app/src/main/java/de/danoeh/antennapod/activity/StorageErrorActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/StorageErrorActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/StorageErrorActivity.java
index 81d727283..62bff0891 100644
--- a/app/src/main/java/de/danoeh/antennapod/activity/StorageErrorActivity.java
+++ b/app/src/main/java/de/danoeh/antennapod/activity/StorageErrorActivity.java
@@ -55,7 +55,7 @@ public class StorageErrorActivity extends AppCompatActivity {
openDirectoryChooser();
}
});
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
int readPermission = ActivityCompat.checkSelfPermission(this,
Manifest.permission.READ_EXTERNAL_STORAGE);
int writePermission = ActivityCompat.checkSelfPermission(this,