From 8d8dce0b902026005cc7dd6618bc14f20877ae51 Mon Sep 17 00:00:00 2001 From: Chumva Date: Fri, 30 Mar 2018 13:21:49 +0300 Subject: [PATCH] add change to osmand keyboard in showHideKeyboardIcon --- .../osmand/plus/mapmarkers/CoordinateInputDialogFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 109398266a..b3841614ff 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -54,6 +54,7 @@ import net.osmand.plus.MapMarkersHelper.MapMarker; import net.osmand.plus.OsmAndLocationProvider.OsmAndCompassListener; import net.osmand.plus.OsmAndLocationProvider.OsmAndLocationListener; import net.osmand.plus.OsmandApplication; +import net.osmand.plus.OsmandSettings; import net.osmand.plus.R; import net.osmand.plus.activities.MapActivity; import net.osmand.plus.base.MapViewTrackingUtilities; @@ -347,6 +348,8 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm public void onClick(View view) { boolean isCurrentlyVisible = isOsmandKeyboardCurrentlyVisible(); if (!isCurrentlyVisible && !useOsmandKeyboard) { + OsmandSettings.OsmandPreference pref = getMyApplication().getSettings().COORDS_INPUT_USE_OSMAND_KEYBOARD; + pref.set(!pref.get()); changeKeyboard(); } else { changeOsmandKeyboardVisibility(!isCurrentlyVisible);