diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index 9cfe04a71a..b0b86db209 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -57,7 +57,7 @@ public class MainMenuActivity extends Activity { public static final int APP_EXIT_CODE = 4; public static final String APP_EXIT_KEY = "APP_EXIT_KEY"; - protected static final boolean TIPS_AND_TRICKS = false; + public static final boolean TIPS_AND_TRICKS = false; private ProgressDialog startProgressDialog; diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 136a1bf45b..a9db9b040f 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -906,9 +906,14 @@ public class MapActivityActions implements DialogProvider { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { - TipsAndTricksActivity tactivity = new TipsAndTricksActivity(mapActivity); - Dialog dlg = tactivity.getDialogToShowTips(false, true); - dlg.show(); + if (MainMenuActivity.TIPS_AND_TRICKS) { + TipsAndTricksActivity tactivity = new TipsAndTricksActivity(mapActivity); + Dialog dlg = tactivity.getDialogToShowTips(false, true); + dlg.show(); + } else { + final Intent helpIntent = new Intent(mapActivity, HelpActivity.class); + mapActivity.startActivity(helpIntent); + } } }).reg(); final OsmAndLocationProvider loc = app.getLocationProvider();