SetupWizard: Disable Checkbox on Resume
Change-Id: Ica6f3043b9b0d3703b6ce6f47a43b5201deb05b7 (cherry picked from commit 9192fc690306c85349b62204cb74f61a1d12edec)
This commit is contained in:
parent
645ffa8436
commit
22df00177f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user