fix NPE
This commit is contained in:
parent
90729cffe6
commit
d7b29db626
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ public class OpenAPSAMAPlugin extends PluginBase implements APSInterface {
|
||||||
MainApp.bus().post(new EventOpenAPSUpdateResultGui(MainApp.gs(R.string.openaps_noasdata)));
|
MainApp.bus().post(new EventOpenAPSUpdateResultGui(MainApp.gs(R.string.openaps_noasdata)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
lastAutosensResult = autosensData.autosensResult;
|
||||||
} else {
|
} else {
|
||||||
lastAutosensResult = new AutosensResult();
|
lastAutosensResult = new AutosensResult();
|
||||||
lastAutosensResult.sensResult = "autosens disabled";
|
lastAutosensResult.sensResult = "autosens disabled";
|
||||||
|
|
Loading…
Reference in a new issue