diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index c9b3a936d6..375a588f4a 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -54,7 +54,6 @@ import android.content.res.Resources; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; -import android.util.FloatMath; import android.view.View; import android.view.View.OnClickListener; import android.widget.ArrayAdapter; @@ -577,7 +576,7 @@ public class MapActivityActions implements DialogProvider { .listen(new OnContextMenuClick() { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { - if (getMyApplication().getInternalAPI().accessibilityEnabled()) { + if (getMyApplication().accessibilityEnabled()) { whereAmIDialog(); } else { mapActivity.getMapViewTrackingUtilities().backToLocationImpl(); diff --git a/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java b/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java index ebdcf3c1af..e7534a663b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/TipsAndTricksActivity.java @@ -19,7 +19,7 @@ import android.widget.TextView; public class TipsAndTricksActivity { private int[][] tipNamesAndDescriptions = new int[][] { - {R.string.tip_recent_changes,R.string.tip_recent_changes_1_6_t}, + {R.string.tip_recent_changes,R.string.tip_recent_changes_1_7_t}, {R.string.tip_update_index,R.string.tip_update_index_t}, {R.string.tip_navigation,R.string.tip_navigation_t}, {R.string.tip_app_mode,R.string.tip_app_mode_t_v2}, @@ -116,7 +116,7 @@ public class TipsAndTricksActivity { dlg.setContentView(R.layout.tips_and_tricks); dlg.getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); final TextView tipDescription = (TextView) dlg.findViewById(R.id.TipDescription); - if (!((OsmandApplication)ctx.getApplicationContext()).getInternalAPI().accessibilityExtensions()) { + if (!((OsmandApplication)ctx.getApplicationContext()).accessibilityExtensions()) { // tipDescription.setMovementMethod(ScrollingMovementMethod.getInstance()); tipDescription.setMovementMethod(LinkMovementMethod.getInstance()); }