diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2015-05-12 10:27:19 -0700 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2015-05-12 10:27:19 -0700 |
commit | d187880109a614f677911c89cdc1cb034341de3d (patch) | |
tree | 4f25ea9ba4e935727a966527b2cd8058ec98a600 | |
parent | ea4eb326cfc4a8221be5fdab9639d468c632aee2 (diff) | |
download | frameworks_base-d187880109a614f677911c89cdc1cb034341de3d.zip frameworks_base-d187880109a614f677911c89cdc1cb034341de3d.tar.gz frameworks_base-d187880109a614f677911c89cdc1cb034341de3d.tar.bz2 |
Hotspot 2.0 UI.
Bug: 20182930
Change-Id: Ice6df509889fa7eb0494bb04af65890f07b4a2b1
-rw-r--r-- | packages/SettingsLib/res/values/strings.xml | 2 | ||||
-rw-r--r-- | packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/packages/SettingsLib/res/values/strings.xml b/packages/SettingsLib/res/values/strings.xml index b702e35..377a9a4 100644 --- a/packages/SettingsLib/res/values/strings.xml +++ b/packages/SettingsLib/res/values/strings.xml @@ -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> diff --git a/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java b/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java index 7eaa728..0a0630e 100644 --- a/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java +++ b/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java @@ -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) : |