Fix the double-quoted SSID issue.

Bug id http://b/issue?id=2684571

Change-Id: I0f1e508b9a3d0fefcef28235380392368a51e42a
This commit is contained in:
Chung-yih Wang
2010-05-15 10:57:23 +08:00
parent e434bfb216
commit 8c81257f70
6 changed files with 25 additions and 9 deletions

View File

@@ -153,7 +153,8 @@ public class WifiApEnabler implements Preference.OnPreferenceChangeListener {
com.android.internal.R.string.wifi_tether_configure_ssid_default);
mCheckBox.setSummary(String.format(
mContext.getString(R.string.wifi_tether_enabled_subtext),
(wifiConfig == null) ? s : wifiConfig.SSID));
(wifiConfig == null) ? s : AccessPoint.removeDoubleQuotes(
wifiConfig.SSID)));
}
private void updateTetherState(Object[] available, Object[] tethered, Object[] errored) {