From 440581bf170b35705c1c22cfd1a4fd53bffd1068 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 8 Feb 2013 23:51:32 +0100 Subject: [PATCH] Fix small glitches --- OsmAnd/res/values/strings.xml | 1 + .../src/net/osmand/plus/activities/DownloadIndexActivity.java | 1 + OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index bdfa78f769..a063741849 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,7 @@ 1. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + OpenMaps EU Hillshade Hillshade overlays Changes in 1.1.2: diff --git a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java index 0441bbbc73..feb4d37234 100644 --- a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java @@ -170,6 +170,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity { Builder msg = new AlertDialog.Builder(this); msg.setTitle(R.string.free_version_title); msg.setMessage(getString(R.string.free_version_message, MAXIMUM_AVAILABLE_FREE_DOWNLOADS+"", "")); + msg.setPositiveButton(R.string.default_buttons_ok, null); msg.show(); } diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index 5c0d6269eb..73e773576c 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -280,7 +280,7 @@ public class MainMenuActivity extends Activity { boolean netOsmandWasInstalled = false; try { ApplicationInfo applicationInfo = getPackageManager().getApplicationInfo("net.osmand", PackageManager.GET_META_DATA); - netOsmandWasInstalled = applicationInfo != null; + netOsmandWasInstalled = applicationInfo != null && !Version.isFreeVersion(getMyApplication()); } catch (NameNotFoundException e) { netOsmandWasInstalled = false; }