* commit 'b3c758f40e169f9185dd888c6cfe1f30d7437068': Hotspot 2.0 UI.
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
<string name="wifi_security_psk_generic">@string/wifi_security_wpa_wpa2</string>
|
||||
<!-- Do not translate. Concise terminology for wifi with 802.1x EAP security -->
|
||||
<string name="wifi_security_eap">802.1x EAP</string>
|
||||
<!-- Do not translate. Concise terminology for Passpoint network -->
|
||||
<string name="wifi_security_passpoint">Passpoint</string>
|
||||
|
||||
<!-- Summary for the remembered network. -->
|
||||
<string name="wifi_remembered">Saved</string>
|
||||
|
||||
@@ -248,6 +248,9 @@ public class AccessPoint implements Comparable<AccessPoint> {
|
||||
|
||||
public String getSecurityString(boolean concise) {
|
||||
Context context = mContext;
|
||||
if (mConfig != null && mConfig.isPasspoint()) {
|
||||
return context.getString(R.string.wifi_security_passpoint);
|
||||
}
|
||||
switch(security) {
|
||||
case SECURITY_EAP:
|
||||
return concise ? context.getString(R.string.wifi_security_short_eap) :
|
||||
|
||||
Reference in New Issue
Block a user