ComboV2: move logging to onStart
This commit is contained in:
parent
2cecf28792
commit
13cf19083a
|
@ -251,14 +251,14 @@ class ComboV2Plugin @Inject constructor (
|
|||
|
||||
init {
|
||||
ComboCtlLogger.backend = AAPSComboCtlLogger(aapsLogger)
|
||||
updateComboCtlLogLevel()
|
||||
|
||||
_pumpDescription.fillFor(PumpType.ACCU_CHEK_COMBO)
|
||||
}
|
||||
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
|
||||
updateComboCtlLogLevel()
|
||||
|
||||
// Check if there is a pump state in the internal SP. If not, try to
|
||||
// copy a pump state from the AAPS main SP. It is possible for example
|
||||
// that AAPS was reinstalled, and the previous settings were imported.
|
||||
|
|
Loading…
Reference in a new issue