Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a85d518cfc
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ public class BaseDownloadActivity extends SherlockFragmentActivity {
|
||||||
private void prepareDownloadDirectory() {
|
private void prepareDownloadDirectory() {
|
||||||
if (getMyApplication().getResourceManager().getIndexFileNames().isEmpty()) {
|
if (getMyApplication().getResourceManager().getIndexFileNames().isEmpty()) {
|
||||||
boolean showedDialog = false;
|
boolean showedDialog = false;
|
||||||
if (Build.VERSION.SDK_INT < OsmandSettings.VERSION_DEFAULTLOCATION_CHANGED) {
|
if ((Build.VERSION.SDK_INT < OsmandSettings.VERSION_DEFAULTLOCATION_CHANGED) && settings.getExternalStorageDirectory().getAbsolutePath().isEmpty()) {
|
||||||
SuggestExternalDirectoryDialog.showDialog(this, null, null);
|
SuggestExternalDirectoryDialog.showDialog(this, null, null);
|
||||||
}
|
}
|
||||||
if (!showedDialog) {
|
if (!showedDialog) {
|
||||||
|
|
Loading…
Reference in a new issue