Merge pull request #482 from fokin33/patch-3

Update OsMoDroidPlugin.java
This commit is contained in:
vshcherb 2013-07-26 08:24:40 -07:00
commit 987a7da045

View file

@ -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);