Screen forced ON while activating or deactivating Omnipod Dash

This commit is contained in:
olorinmaia 2023-10-11 19:02:00 +02:00
parent d242dd3129
commit 7942504944

View file

@ -1,7 +1,6 @@
package info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.deactivation package info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.deactivation
import android.os.Bundle import android.os.Bundle
import android.view.WindowManager
import info.nightscout.androidaps.plugins.pump.omnipod.common.R import info.nightscout.androidaps.plugins.pump.omnipod.common.R
import info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.common.activity.OmnipodWizardActivityBase import info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.common.activity.OmnipodWizardActivityBase
@ -9,7 +8,6 @@ abstract class PodDeactivationWizardActivity : OmnipodWizardActivityBase() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
setContentView(R.layout.omnipod_common_pod_deactivation_wizard_activity) setContentView(R.layout.omnipod_common_pod_deactivation_wizard_activity)