Fix OsmandMonitoringPlugin npe

This commit is contained in:
max-klaus 2019-11-05 16:11:41 +03:00
parent b03d74854f
commit 323cc8fbea

View file

@ -320,7 +320,9 @@ public class OsmandMonitoringPlugin extends OsmandPlugin {
} }
}); });
} }
monitoringControl.updateInfo(null); if (monitoringControl != null) {
monitoringControl.updateInfo(null);
}
} }
}; };
if(strings.length == 1) { if(strings.length == 1) {