Fix wifi network strings shown in Settings.

Bug: 21575915
Change-Id: I09d938aa03790119ebf6dc28fb6e00accab7d11d
This commit is contained in:
Sanket Padawe
2015-06-05 18:49:12 -07:00
parent 26a42d1099
commit 2816e4e3e0
2 changed files with 6 additions and 4 deletions

View File

@@ -271,8 +271,8 @@ public class WifiConfigController implements TextWatcher,
WifiInfo info = mAccessPoint.getInfo();
if (info != null && info.getLinkSpeed() != -1) {
addRow(group, R.string.wifi_speed, info.getLinkSpeed()
+ WifiInfo.LINK_SPEED_UNITS);
addRow(group, R.string.wifi_speed, String.format(
res.getString(R.string.link_speed), info.getLinkSpeed()));
}
if (info != null && info.getFrequency() != -1) {