From 0ccc10ebf12dcaff3ad8f8d6c85988b65f878f77 Mon Sep 17 00:00:00 2001 From: Chumva Date: Wed, 30 May 2018 15:28:52 +0300 Subject: [PATCH] removed two calls to runLayoutListener --- .../net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java index 9741748f14..4d6132baf1 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java @@ -1529,7 +1529,6 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo view.findViewById(R.id.additional_info_row_container).setVisibility(View.VISIBLE); view.findViewById(R.id.additional_info_row).setVisibility(View.VISIBLE); } - runLayoutListener(); } private void updateDistanceDirection() { @@ -1913,6 +1912,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo private void doAfterMenuStateChange(int previousState, int newState) { updateCompassVisibility(); updateAdditionalInfoVisibility(); + runLayoutListener(); } }