Try a solution for bug AND-197

This commit is contained in:
sonora 2014-12-06 17:42:29 +01:00
parent 87dfbb43ab
commit e837aee92c

View file

@ -221,7 +221,7 @@ public class BaseDownloadActivity extends SherlockFragmentActivity {
private void prepareDownloadDirectory() {
if (getMyApplication().getResourceManager().getIndexFileNames().isEmpty()) {
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);
}
if (!showedDialog) {