Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2448b9a0d9
2 changed files with 9 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue