- added migration for settings for encoding
This commit is contained in:
parent
2ae7d0a292
commit
7aedfde1c9
|
@ -213,6 +213,15 @@ public class MedtronicPumpPlugin extends PumpPluginAbstract implements PumpInter
|
|||
SP.putString(MedtronicConst.Prefs.PumpFrequency, MainApp.gs(R.string.medtronic_pump_frequency_us_ca));
|
||||
}
|
||||
|
||||
String encoding = SP.getString(MedtronicConst.Prefs.Encoding, null);
|
||||
|
||||
if ("RileyLink 4b6b Encoding".equals(encoding)) {
|
||||
SP.putString(MedtronicConst.Prefs.Encoding, MainApp.gs(R.string.medtronic_pump_encoding_4b6b_rileylink));
|
||||
}
|
||||
|
||||
if ("Local 4b6b Encoding".equals(encoding)) {
|
||||
SP.putString(MedtronicConst.Prefs.Encoding, MainApp.gs(R.string.medtronic_pump_encoding_4b6b_local));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue