Add developer version flag

This commit is contained in:
Victor Shcherb 2012-06-03 00:48:10 +02:00
parent 598fcb6a49
commit 38ef6dbfc1

View file

@ -58,6 +58,11 @@ public class Version {
}
public static boolean isDeveloperVersion(Context ctx){
return "osmand~".equalsIgnoreCase(getAppName(ctx));
}
public static String getVersionForTracker(Context ctx) {
String v = Version.getAppName(ctx);
if(Version.isProductionVersion(ctx)){