Screen forced ON while activating or deactivating Omnipod Dash
This commit is contained in:
parent
d242dd3129
commit
7942504944
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue