Merge pull request #482 from fokin33/patch-3
Update OsMoDroidPlugin.java
This commit is contained in:
commit
987a7da045
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue