diff --git a/OsmAnd/res/layout/fragment_edit_poi_advanced.xml b/OsmAnd/res/layout/fragment_edit_poi_advanced.xml index c9058224b2..35f54f54bc 100644 --- a/OsmAnd/res/layout/fragment_edit_poi_advanced.xml +++ b/OsmAnd/res/layout/fragment_edit_poi_advanced.xml @@ -12,7 +12,6 @@ android:layout_height="wrap_content"> diff --git a/OsmAnd/res/layout/fragment_live_updates.xml b/OsmAnd/res/layout/fragment_live_updates.xml index dd7b00a096..65840afe10 100644 --- a/OsmAnd/res/layout/fragment_live_updates.xml +++ b/OsmAnd/res/layout/fragment_live_updates.xml @@ -1,12 +1,11 @@ - - - --> - - - - - \ No newline at end of file diff --git a/OsmAnd/res/layout/sherpafy_drawer_list_item.xml b/OsmAnd/res/layout/sherpafy_drawer_list_item.xml deleted file mode 100644 index b3a7ac9134..0000000000 --- a/OsmAnd/res/layout/sherpafy_drawer_list_item.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/OsmAnd/res/layout/sherpafy_list_tour_item.xml b/OsmAnd/res/layout/sherpafy_list_tour_item.xml deleted file mode 100644 index b909680026..0000000000 --- a/OsmAnd/res/layout/sherpafy_list_tour_item.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/OsmAnd/res/layout/sherpafy_stage_info.xml b/OsmAnd/res/layout/sherpafy_stage_info.xml deleted file mode 100644 index 7b1ddf3e45..0000000000 --- a/OsmAnd/res/layout/sherpafy_stage_info.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/OsmAnd/res/layout/sherpafy_stage_list_item.xml b/OsmAnd/res/layout/sherpafy_stage_list_item.xml deleted file mode 100644 index 9fde746341..0000000000 --- a/OsmAnd/res/layout/sherpafy_stage_list_item.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/activities/ContributionVersionActivity.java b/OsmAnd/src/net/osmand/plus/activities/ContributionVersionActivity.java index 81bb2ccb1d..048f272d6b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/ContributionVersionActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/ContributionVersionActivity.java @@ -14,10 +14,10 @@ import android.widget.ArrayAdapter; import android.widget.Filterable; import android.widget.TextView; import android.widget.Toast; - import net.osmand.AndroidUtils; import net.osmand.osm.io.NetworkUtils; import net.osmand.plus.R; +import net.osmand.plus.Version; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserFactory; @@ -41,8 +41,8 @@ public class ContributionVersionActivity extends OsmandListActivity { private static final int INSTALL_BUILD = 2; private static final int ACTIVITY_TO_INSTALL = 23; - private static final String URL_TO_RETRIEVE_BUILDS = "http://download.osmand.net/builds.php"; - private static final String URL_GET_BUILD = "http://download.osmand.net/"; + private static final String URL_TO_RETRIEVE_BUILDS = "https://download.osmand.net/builds.php"; + private static final String URL_GET_BUILD = "https://download.osmand.net/"; private ProgressDialog progressDlg; private Date currentInstalledDate; @@ -158,7 +158,9 @@ public class ContributionVersionActivity extends OsmandListActivity { } } OsmAndBuild build = new OsmAndBuild(path, size, d, tag); - downloadedBuilds.add(build); + if(!Version.isFreeVersion(getMyApplication()) || path.contains("default")) { + downloadedBuilds.add(build); + } } } }