From e2a8ab45ef42e68ffa7137ddd654a087e8706c2b Mon Sep 17 00:00:00 2001 From: fokin33 Date: Fri, 26 Jul 2013 07:46:59 -0700 Subject: [PATCH] Update OsMoDroidPlugin.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit дополнительно --- OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java b/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java index b280c0d855..2baad6716a 100644 --- a/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java +++ b/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java @@ -230,9 +230,9 @@ public class OsMoDroidPlugin extends OsmandPlugin implements MonitoringInfoContr public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { try { if (off) { - mIRemoteService.Deactivate(); - } else { mIRemoteService.Activate(); + } else { + mIRemoteService.Deactivate(); } } catch(Exception e) { log.error(e.getMessage(), e);