Add developer version flag
This commit is contained in:
parent
598fcb6a49
commit
38ef6dbfc1
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ public class Version {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean isDeveloperVersion(Context ctx){
|
||||||
|
return "osmand~".equalsIgnoreCase(getAppName(ctx));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public static String getVersionForTracker(Context ctx) {
|
public static String getVersionForTracker(Context ctx) {
|
||||||
String v = Version.getAppName(ctx);
|
String v = Version.getAppName(ctx);
|
||||||
if(Version.isProductionVersion(ctx)){
|
if(Version.isProductionVersion(ctx)){
|
||||||
|
|
Loading…
Reference in a new issue