summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
authorAaahh <woohoomoo2u@gmail.com>2015-04-03 18:11:38 -0400
committerEd Carrigan <cretin45@gmail.com>2015-04-09 19:14:13 +0000
commit22df00177f2044c8b6f63f4a2194ecb35b822300 (patch)
tree1bddafd6b7c69fe2c370f2bcd44e875d59f00d2b /src/com/cyanogenmod/setupwizard/setup
parent645ffa8436bad16af28b0545114e744bc796a8d0 (diff)
downloadpackages_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.java4
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) {