Revert variables
This commit is contained in:
parent
508902c8eb
commit
271f0a07d0
3 changed files with 4 additions and 5 deletions
|
@ -635,9 +635,9 @@ public class OsmandSettings {
|
||||||
}
|
}
|
||||||
public final CommonPreference<Boolean> USE_FAST_RECALCULATION = new BooleanPreference("use_fast_recalculation", true).makeGlobal().cache();
|
public final CommonPreference<Boolean> USE_FAST_RECALCULATION = new BooleanPreference("use_fast_recalculation", true).makeGlobal().cache();
|
||||||
|
|
||||||
public final CommonPreference<Boolean> SHOW_CARD_TO_CHOOSE_DRAWER = new BooleanPreference("show_card_to_choose_drawer", true).makeGlobal();
|
public final CommonPreference<Boolean> SHOW_CARD_TO_CHOOSE_DRAWER = new BooleanPreference("show_card_to_choose_drawer", false).makeGlobal();
|
||||||
public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_START = new BooleanPreference("should_show_dashboard_on_start", true).makeGlobal();
|
public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_START = new BooleanPreference("should_show_dashboard_on_start", false).makeGlobal();
|
||||||
public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", true).makeGlobal();
|
public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", false).makeGlobal();
|
||||||
|
|
||||||
// this value string is synchronized with settings_pref.xml preference name
|
// this value string is synchronized with settings_pref.xml preference name
|
||||||
public final CommonPreference<Boolean> USE_INTERNET_TO_DOWNLOAD_TILES = new BooleanPreference("use_internet_to_download_tiles", true).makeGlobal().cache();
|
public final CommonPreference<Boolean> USE_INTERNET_TO_DOWNLOAD_TILES = new BooleanPreference("use_internet_to_download_tiles", true).makeGlobal().cache();
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class MapActivityActions implements DialogProvider {
|
||||||
|
|
||||||
public void directionTo(double latitude, double longitude, PointDescription pd) {
|
public void directionTo(double latitude, double longitude, PointDescription pd) {
|
||||||
final TargetPointsHelper targets = getMyApplication().getTargetPointsHelper();
|
final TargetPointsHelper targets = getMyApplication().getTargetPointsHelper();
|
||||||
targets.navigateToPoint(new LatLon(latitude, longitude), true, -1, pd);
|
targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size() + 1, pd);
|
||||||
enterRoutePlanningMode(null, null, false);
|
enterRoutePlanningMode(null, null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ public class DashDashboardOrDrawerFragment extends DashBaseFragment {
|
||||||
return settings.SHOW_CARD_TO_CHOOSE_DRAWER.get();
|
return settings.SHOW_CARD_TO_CHOOSE_DRAWER.get();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
private DismissListener dismissCallback;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
public View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
|
|
Loading…
Reference in a new issue