Prepare release 0.5.2

This commit is contained in:
Victor Shcherb 2011-01-16 13:46:47 +01:00
parent 7b13667d57
commit acd342ce1e
5 changed files with 10 additions and 8 deletions

View file

@ -4,8 +4,8 @@ public class Version {
public static final String APP_NAME = "OsmAnd"; //$NON-NLS-1$
public static final String APP_MAP_CREATOR_NAME = "OsmAndMapCreator"; //$NON-NLS-1$
public static final String APP_VERSION = "0.5.1"; //$NON-NLS-1$
public static final String APP_DESCRIPTION = "beta (b3)"; //$NON-NLS-1$
public static final String APP_VERSION = "0.5.2"; //$NON-NLS-1$
public static final String APP_DESCRIPTION = "beta (b1)"; //$NON-NLS-1$
public static final boolean VELCOM_EDITION = false;
public static final String APP_NAME_VERSION = APP_NAME + " " + APP_VERSION; //$NON-NLS-1$

3
OsmAnd/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/use
/gen
/assets

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.osmand" android:versionName="0.5.1" android:installLocation="auto" android:versionCode="24">
package="net.osmand" android:installLocation="auto" android:versionName="0.5.2" android:versionCode="25">
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable="false" android:name=".activities.OsmandApplication" android:description="@string/app_description">
<activity android:name=".activities.MainMenuActivity"

View file

@ -266,11 +266,12 @@ public class OsmandSettings {
public static final String ROUTER_SERVICE = "router_service"; //$NON-NLS-1$
public static RouteService getRouterService(SharedPreferences prefs) {
int ord = prefs.getInt(ROUTER_SERVICE, RouteService.OSMAND.ordinal());
if(ord < RouteService.values().length){
int ord = prefs.getInt(ROUTER_SERVICE, RouteService.CLOUDMADE.ordinal());
// that fix specially for 0.5.2 release
if(ord < 2){
return RouteService.values()[ord];
} else {
return RouteService.OSMAND;
return RouteService.CLOUDMADE;
}
}

View file

@ -20,10 +20,8 @@ import net.osmand.R;
import net.osmand.OsmandSettings.ApplicationMode;
import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
import net.osmand.activities.RoutingHelper.TurnType;
import net.osmand.binary.BinaryMapDataObject;
import net.osmand.binary.BinaryMapIndexReader;
import net.osmand.binary.BinaryRouteDataReader;
import net.osmand.binary.BinaryMapIndexReader.TagValuePair;
import net.osmand.binary.BinaryRouteDataReader.RouteSegment;
import net.osmand.binary.BinaryRouteDataReader.RouteSegmentResult;
import net.osmand.binary.BinaryRouteDataReader.RoutingContext;