Merge "[Wi-Fi] Fix robolectric test broken"

This commit is contained in:
TreeHugger Robot
2019-09-10 05:39:30 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 6 deletions

View File

@@ -1070,17 +1070,17 @@ public class WifiConfigController implements TextWatcher,
mDoNotValidateEapServerString,
false,
true);
// To avoid the user connects to a non-secure network unexpectedly,
// request using system trusted certificates by default
// unless the user explicitly chooses "Do not validate" or other
// CA certificates.
setSelection(mEapCaCertSpinner, mUseSystemCertsString);
loadCertificates(
mEapUserCertSpinner,
Credentials.USER_PRIVATE_KEY,
mDoNotProvideEapUserCertString,
false,
false);
// To avoid the user connects to a non-secure network unexpectedly,
// request using system trusted certificates by default
// unless the user explicitly chooses "Do not validate" or other
// CA certificates.
setSelection(mEapCaCertSpinner, mUseSystemCertsString);
}
// Modifying an existing network

View File

@@ -118,7 +118,7 @@ public class WifiWakeupPreferenceController extends TogglePreferenceController i
@Override
public void updateState(Preference preference) {
super.updateState(preference);
refreshSummary(mPreference);
refreshSummary(preference);
}
@Override