Update OsMoDroidPlugin.java
This commit is contained in:
parent
8e276da5d1
commit
c99e1eace2
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue