Loading packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -503,7 +503,8 @@ public class AccessPoint implements Comparable<AccessPoint> { // This is the active connection on non-passpoint network // This is the active connection on non-passpoint network summary.append(getSummary(mContext, getDetailedState(), summary.append(getSummary(mContext, getDetailedState(), mInfo != null && mInfo.isEphemeral())); mInfo != null && mInfo.isEphemeral())); } else if (config != null && config.isPasspoint()) { } else if (config != null && config.isPasspoint() && config.getNetworkSelectionStatus().isNetworkEnabled()) { String format = mContext.getString(R.string.available_via_passpoint); String format = mContext.getString(R.string.available_via_passpoint); summary.append(String.format(format, config.providerFriendlyName)); summary.append(String.format(format, config.providerFriendlyName)); } else if (config != null && config.hasNoInternetAccess()) { } else if (config != null && config.hasNoInternetAccess()) { Loading Loading
packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -503,7 +503,8 @@ public class AccessPoint implements Comparable<AccessPoint> { // This is the active connection on non-passpoint network // This is the active connection on non-passpoint network summary.append(getSummary(mContext, getDetailedState(), summary.append(getSummary(mContext, getDetailedState(), mInfo != null && mInfo.isEphemeral())); mInfo != null && mInfo.isEphemeral())); } else if (config != null && config.isPasspoint()) { } else if (config != null && config.isPasspoint() && config.getNetworkSelectionStatus().isNetworkEnabled()) { String format = mContext.getString(R.string.available_via_passpoint); String format = mContext.getString(R.string.available_via_passpoint); summary.append(String.format(format, config.providerFriendlyName)); summary.append(String.format(format, config.providerFriendlyName)); } else if (config != null && config.hasNoInternetAccess()) { } else if (config != null && config.hasNoInternetAccess()) { Loading