Update OsMoDroidPlugin.java
дополнительно
This commit is contained in:
parent
03b1520035
commit
e2a8ab45ef
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