From 4cbfcdefd71df8ce3c29094a9022a20d0fe9408d Mon Sep 17 00:00:00 2001 From: vshcherb Date: Fri, 26 Jul 2013 14:11:53 +0200 Subject: [PATCH] Update OsMoDroidPlugin.java --- 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 c1ceb8f053..0cffef3247 100644 --- a/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java +++ b/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java @@ -221,9 +221,9 @@ public class OsMoDroidPlugin extends OsmandPlugin implements MonitoringInfoContr @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { if (off) { - mIRemoteService.Deactivate(app); + mIRemoteService.Deactivate(); } else { - mIRemoteService.Activate(app); + mIRemoteService.Activate(); } } }).reg();