diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index d7a417825f..17fee09b56 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -66,6 +66,7 @@ import net.osmand.plus.OsmandSettings; import net.osmand.plus.R; import net.osmand.plus.TargetPointsHelper; import net.osmand.plus.TargetPointsHelper.TargetPoint; +import net.osmand.plus.Version; import net.osmand.plus.activities.search.SearchActivity; import net.osmand.plus.base.FailSafeFuntions; import net.osmand.plus.base.MapViewTrackingUtilities; @@ -275,7 +276,8 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven } mapView.refreshMap(true); - if ((getMyApplication().getAppInitializer().isFirstTime() || !app.getResourceManager().isAnyMapIstalled()) && FirstUsageWelcomeFragment.SHOW) { + if (((app.getAppInitializer().isFirstTime() && Version.isDeveloperVersion(app) + || !app.getResourceManager().isAnyMapIstalled()) && FirstUsageWelcomeFragment.SHOW) { FirstUsageWelcomeFragment.SHOW = false; getSupportFragmentManager().beginTransaction() .add(R.id.fragmentContainer, new FirstUsageWelcomeFragment(), diff --git a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java index 26b46479dd..b1df9137bb 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/RoutingHelper.java @@ -755,14 +755,14 @@ public class RoutingHelper { if(next != null) { next[0] = n.directionInfo.getTurnType(); } - return formatStreetName(nm, rf, dn, "»"); + return formatStreetName(nm, rf, dn, "»"); } RouteSegmentResult rs = getCurrentSegmentResult(); if(rs != null) { String nm = rs.getObject().getName(settings.MAP_PREFERRED_LOCALE.get()); String rf = rs.getObject().getRef(); String dn = rs.getObject().getDestinationName(settings.MAP_PREFERRED_LOCALE.get()); - return formatStreetName(nm, rf, dn, "»"); + return formatStreetName(nm, rf, dn, "»"); } return null; }