SetupWizard: Disable mobile data at least once
* Right now, the user has to set the toggle on and off to actually get the setting set to "off", since the underlying default value is "on" * Make sure to send an "off" initially right at the beginning of SuW Change-Id: Iec2fd05ea341351f3e6d4b195a1a385f9d88d4f7
This commit is contained in:
committed by
Michael Bestas
parent
bc224d5750
commit
29e77749c5
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2013 The CyanogenMod Project
|
||||
* Copyright (C) 2017-2020 The LineageOS Project
|
||||
* Copyright (C) 2017-2021 The LineageOS Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -94,6 +94,7 @@ public class SetupWizardApp extends Application {
|
||||
NetworkMonitor.initInstance(this);
|
||||
PhoneMonitor.initInstance(this);
|
||||
SetupWizardUtils.disableComponentsForMissingFeatures(this);
|
||||
SetupWizardUtils.setMobileDataEnabled(this, false);
|
||||
mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user