Update OsMoDroidPlugin.java

This commit is contained in:
Moshkov Konstantin 2013-07-26 15:35:59 +04:00
parent 8e276da5d1
commit c99e1eace2

View file

@ -221,9 +221,9 @@ public class OsMoDroidPlugin extends OsmandPlugin implements MonitoringInfoContr
@Override @Override
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
if (off) { if (off) {
init(app); mIRemoteService.Deactivate(app);
} else { } else {
shutdown(app); mIRemoteService.Activate(app);
} }
} }
}).reg(); }).reg();