SetupWizard: Disable Checkbox on Resume

Change-Id: Ica6f3043b9b0d3703b6ce6f47a43b5201deb05b7
(cherry picked from commit 9192fc690306c85349b62204cb74f61a1d12edec)
This commit is contained in:
Aaahh 2015-04-03 18:11:38 -04:00 committed by Ed Carrigan
parent 645ffa8436
commit 22df00177f
1 changed files with 4 additions and 0 deletions

View File

@ -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) {