Update OsMoDroidPlugin.java

дополнительно
This commit is contained in:
fokin33 2013-07-26 07:46:59 -07:00
parent 03b1520035
commit e2a8ab45ef

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