diff options
author | Aaahh <woohoomoo2u@gmail.com> | 2015-04-03 18:11:38 -0400 |
---|---|---|
committer | Ed Carrigan <cretin45@gmail.com> | 2015-04-09 19:14:13 +0000 |
commit | 22df00177f2044c8b6f63f4a2194ecb35b822300 (patch) | |
tree | 1bddafd6b7c69fe2c370f2bcd44e875d59f00d2b /src/com/cyanogenmod/setupwizard/setup | |
parent | 645ffa8436bad16af28b0545114e744bc796a8d0 (diff) | |
download | packages_apps_SetupWizard-22df00177f2044c8b6f63f4a2194ecb35b822300.zip packages_apps_SetupWizard-22df00177f2044c8b6f63f4a2194ecb35b822300.tar.gz packages_apps_SetupWizard-22df00177f2044c8b6f63f4a2194ecb35b822300.tar.bz2 |
SetupWizard: Disable Checkbox on Resume
Change-Id: Ica6f3043b9b0d3703b6ce6f47a43b5201deb05b7
(cherry picked from commit 9192fc690306c85349b62204cb74f61a1d12edec)
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/OtherSettingsPage.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/OtherSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/OtherSettingsPage.java index aa51711..e5029a6 100644 --- a/src/com/cyanogenmod/setupwizard/setup/OtherSettingsPage.java +++ b/src/com/cyanogenmod/setupwizard/setup/OtherSettingsPage.java @@ -270,6 +270,10 @@ public class OtherSettingsPage extends SetupPage { SetupStats.Action.ENABLE_NETWORK_LOCATION, SetupStats.Label.CHECKED, String.valueOf(networkEnabled)); mLocationAccess.setChecked(gpsEnabled || networkEnabled); + mGps.setEnabled(gpsEnabled || networkEnabled); + mGpsRow.setEnabled(gpsEnabled || networkEnabled); + mNetwork.setEnabled(gpsEnabled || networkEnabled); + mNetworkRow.setEnabled(gpsEnabled || networkEnabled); } private void onToggleLocationAccess(boolean checked) { |