Fix small glitches

This commit is contained in:
Victor Shcherb 2013-02-08 23:51:32 +01:00
parent 3cd5fac71c
commit 440581bf17
3 changed files with 3 additions and 1 deletions

View file

@ -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
-->
<string name="index_name_openmaps">OpenMaps EU</string>
<string name="download_hillshade_item">Hillshade </string>
<string name="download_hillshade_maps">Hillshade overlays</string>
<string name="tip_recent_changes_1_1_2_t">Changes in 1.1.2:

View file

@ -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();
}

View file

@ -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;
}