Rename WifiNetworkSuggestion#getPasspointConfiguration
Renamed to getPasspointConfig to be consistent with setPasspointConfig Bug: 149912516 Test: compiles Change-Id: I5809f50793f89eb3b811c019b7494a437dd991e7
This commit is contained in:
@@ -349,7 +349,7 @@ public class AddAppNetworksFragment extends InstrumentedFragment implements
|
|||||||
* If specified is passpoint network, need to check with the existing passpoint
|
* If specified is passpoint network, need to check with the existing passpoint
|
||||||
* networks.
|
* networks.
|
||||||
*/
|
*/
|
||||||
final PasspointConfiguration passpointConfig = suggestion.getPasspointConfiguration();
|
final PasspointConfiguration passpointConfig = suggestion.getPasspointConfig();
|
||||||
if (passpointConfig != null) {
|
if (passpointConfig != null) {
|
||||||
foundInSavedList = isSavedPasspointConfiguration(passpointConfig);
|
foundInSavedList = isSavedPasspointConfiguration(passpointConfig);
|
||||||
displayedName = passpointConfig.getHomeSp().getFriendlyName();
|
displayedName = passpointConfig.getHomeSp().getFriendlyName();
|
||||||
@@ -600,7 +600,7 @@ public class AddAppNetworksFragment extends InstrumentedFragment implements
|
|||||||
*/
|
*/
|
||||||
private void saveNetwork(int index) {
|
private void saveNetwork(int index) {
|
||||||
final PasspointConfiguration passpointConfig =
|
final PasspointConfiguration passpointConfig =
|
||||||
mUiToRequestedList.get(index).mWifiNetworkSuggestion.getPasspointConfiguration();
|
mUiToRequestedList.get(index).mWifiNetworkSuggestion.getPasspointConfig();
|
||||||
if (passpointConfig != null) {
|
if (passpointConfig != null) {
|
||||||
// Save passpoint, if no IllegalArgumentException, then treat it as success.
|
// Save passpoint, if no IllegalArgumentException, then treat it as success.
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user