From adf414222b3ea1952280b4e6a6d9d14328c99cb5 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 18 Nov 2015 12:01:42 +0100 Subject: [PATCH] Fix poi editing --- OsmAnd/res/values/strings.xml | 4 ++-- .../plus/osmedit/AdvancedEditPoiFragment.java | 24 +------------------ 2 files changed, 3 insertions(+), 25 deletions(-) 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) { - - } - } + }