diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java index 77a867e8c4..ea7b22d227 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java @@ -4,6 +4,7 @@ package net.osmand.plus.activities; import java.io.File; import java.util.List; +import net.osmand.IProgress; import net.osmand.access.AccessibleToast; import net.osmand.plus.ApplicationMode; import net.osmand.plus.ClientContext; @@ -280,7 +281,7 @@ public class SettingsGeneralActivity extends SettingsBaseActivity { @Override protected List doInBackground(Void... params) { - return getMyApplication().getResourceManager().reloadIndexes(new ProgressDialogImplementation(SettingsGeneralActivity.this, null, false)); + return getMyApplication().getResourceManager().reloadIndexes(IProgress.EMPTY_PROGRESS); } protected void onPostExecute(List result) { diff --git a/OsmAnd/src/net/osmand/plus/base/SuggestExternalDirectoryDialog.java b/OsmAnd/src/net/osmand/plus/base/SuggestExternalDirectoryDialog.java index f9243830ce..fda501fac5 100644 --- a/OsmAnd/src/net/osmand/plus/base/SuggestExternalDirectoryDialog.java +++ b/OsmAnd/src/net/osmand/plus/base/SuggestExternalDirectoryDialog.java @@ -23,6 +23,7 @@ public class SuggestExternalDirectoryDialog { Builder bld = new AlertDialog.Builder(a); HashSet externalMounts = getExternalMounts(); String apath = app.getSettings().getExternalStorageDirectory().getAbsolutePath(); + externalMounts.add(app.getExternalServiceAPI().getExternalStorageDirectory()); externalMounts.add(apath); final String[] extMounts = new String[showOther ? externalMounts.size()+1 : externalMounts.size()]; externalMounts.toArray(extMounts);