From 69892cbbb37064a6bfe8a2d93f4f43b0e39e244e Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 26 Jul 2010 10:49:52 +0000 Subject: [PATCH] bugfix git-svn-id: https://osmand.googlecode.com/svn/trunk@396 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- DataExtractionOSM/src/com/osmand/ToDoConstants.java | 4 ++++ OsmAnd/AndroidManifest.xml | 6 +++--- OsmAnd/res/values-ru/strings.xml | 2 +- OsmAnd/src/com/osmand/OsmandSettings.java | 2 +- OsmAnd/src/com/osmand/ResourceManager.java | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/DataExtractionOSM/src/com/osmand/ToDoConstants.java b/DataExtractionOSM/src/com/osmand/ToDoConstants.java index c89372bb1d..62baa48466 100644 --- a/DataExtractionOSM/src/com/osmand/ToDoConstants.java +++ b/DataExtractionOSM/src/com/osmand/ToDoConstants.java @@ -11,6 +11,10 @@ public class ToDoConstants { // TODO + // 77. Implement upload gps track onto osm server + // 78. Add ruler to the main tile view + // 79. Download any WMS layer and add to swing version + // 80. Export/import points // Improvements // 5. Download with wget diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index cfaaedd8a4..293782434d 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.osmand" android:versionName="0.3.1" android:versionCode="9"> - + - + diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml index fc6bf5cfb0..e322ef119f 100644 --- a/OsmAnd/res/values-ru/strings.xml +++ b/OsmAnd/res/values-ru/strings.xml @@ -293,7 +293,7 @@ Идти к точке Добавить к избранным Обновить карту -Создать open street bug +Создать open street ошибку Добавить poi Да diff --git a/OsmAnd/src/com/osmand/OsmandSettings.java b/OsmAnd/src/com/osmand/OsmandSettings.java index 9c300202e8..5e6ed78a8c 100644 --- a/OsmAnd/src/com/osmand/OsmandSettings.java +++ b/OsmAnd/src/com/osmand/OsmandSettings.java @@ -118,7 +118,7 @@ public class OsmandSettings { public static String getUserNameForOsmBug(Context ctx) { SharedPreferences prefs = ctx.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_WORLD_READABLE); - return prefs.getString(USER_OSM_BUG_NAME, "NoName"); //$NON-NLS-1$ + return prefs.getString(USER_OSM_BUG_NAME, "NoName/Osmand"); //$NON-NLS-1$ } public static boolean setUserNameForOsmBug(Context ctx, String name) { diff --git a/OsmAnd/src/com/osmand/ResourceManager.java b/OsmAnd/src/com/osmand/ResourceManager.java index 2a5fad3358..e4b624d96e 100644 --- a/OsmAnd/src/com/osmand/ResourceManager.java +++ b/OsmAnd/src/com/osmand/ResourceManager.java @@ -520,7 +520,7 @@ public class ResourceManager { if(source == null || source.getBitDensity() == 0){ maxImgCacheSize = 48; } else { - maxImgCacheSize = 512 / source.getBitDensity(); + maxImgCacheSize = 384 / source.getBitDensity(); } }