diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index f2a4f5b3b2..aac2d4a289 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -2091,8 +2091,8 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Map legend Do you really want to save poi without POI type? Modify OSM change - Always launch dashboard - Always launch map + Launch dashboard + Launch map New startup choice You can now select if the app directly launches the map screen or always displays the dashboard first. Your choice can always be changed in the dashboard settings. diff --git a/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java index 81f3cc1fd8..231413dea2 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java @@ -339,27 +339,5 @@ public class AdvancedEditPoiFragment extends Fragment + abstractPoiType.getClass()); } } - - class InitTagsAndValuesAutocompleteTask extends AsyncTask> { - private final MapPoiTypes mapPoiTypes; - - public InitTagsAndValuesAutocompleteTask(MapPoiTypes mapPoiTypes) { - this.mapPoiTypes = mapPoiTypes; - } - - @Override - protected Map doInBackground(Void... params) { - return mapPoiTypes.getAllTypesTranslatedNames(new StringMatcher() { - @Override - public boolean matches(String name) { - return true; - } - }); - } - - @Override - protected void onPostExecute(Map result) { - - } - } + }