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