Loading src/org/lineageos/setupwizard/SetupWizardApp.java +2 −1 Original line number Original line Diff line number Diff line /* /* * Copyright (C) 2013 The CyanogenMod Project * Copyright (C) 2013 The CyanogenMod Project * Copyright (C) 2017-2019 The LineageOS Project * Copyright (C) 2017-2021 The LineageOS Project * * * Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License. Loading Loading @@ -93,6 +93,7 @@ public class SetupWizardApp extends Application { NetworkMonitor.initInstance(this); NetworkMonitor.initInstance(this); PhoneMonitor.initInstance(this); PhoneMonitor.initInstance(this); SetupWizardUtils.disableComponentsForMissingFeatures(this); SetupWizardUtils.disableComponentsForMissingFeatures(this); SetupWizardUtils.setMobileDataEnabled(this, false); mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT); mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT); } } Loading Loading
src/org/lineageos/setupwizard/SetupWizardApp.java +2 −1 Original line number Original line Diff line number Diff line /* /* * Copyright (C) 2013 The CyanogenMod Project * Copyright (C) 2013 The CyanogenMod Project * Copyright (C) 2017-2019 The LineageOS Project * Copyright (C) 2017-2021 The LineageOS Project * * * Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License. Loading Loading @@ -93,6 +93,7 @@ public class SetupWizardApp extends Application { NetworkMonitor.initInstance(this); NetworkMonitor.initInstance(this); PhoneMonitor.initInstance(this); PhoneMonitor.initInstance(this); SetupWizardUtils.disableComponentsForMissingFeatures(this); SetupWizardUtils.disableComponentsForMissingFeatures(this); SetupWizardUtils.setMobileDataEnabled(this, false); mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT); mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT); } } Loading