Fix OsmandMonitoringPlugin npe
This commit is contained in:
parent
b03d74854f
commit
323cc8fbea
1 changed files with 3 additions and 1 deletions
|
@ -320,7 +320,9 @@ public class OsmandMonitoringPlugin extends OsmandPlugin {
|
|||
}
|
||||
});
|
||||
}
|
||||
monitoringControl.updateInfo(null);
|
||||
if (monitoringControl != null) {
|
||||
monitoringControl.updateInfo(null);
|
||||
}
|
||||
}
|
||||
};
|
||||
if(strings.length == 1) {
|
||||
|
|
Loading…
Reference in a new issue