Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop
This commit is contained in:
commit
657a91b036
|
@ -55,7 +55,7 @@ public class StorageErrorActivity extends AppCompatActivity {
|
||||||
openDirectoryChooser();
|
openDirectoryChooser();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
int readPermission = ActivityCompat.checkSelfPermission(this,
|
int readPermission = ActivityCompat.checkSelfPermission(this,
|
||||||
Manifest.permission.READ_EXTERNAL_STORAGE);
|
Manifest.permission.READ_EXTERNAL_STORAGE);
|
||||||
int writePermission = ActivityCompat.checkSelfPermission(this,
|
int writePermission = ActivityCompat.checkSelfPermission(this,
|
||||||
|
|
Loading…
Reference in New Issue