Merge "Show security info in saved network list" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-16 15:25:52 +00:00
committed by Android (Google) Code Review
2 changed files with 16 additions and 5 deletions

View File

@@ -372,7 +372,11 @@ public class WifiConfigController implements TextWatcher,
group.addView(row);
}
private String getSignalString() {
@VisibleForTesting
String getSignalString() {
if (!mAccessPoint.isReachable()) {
return null;
}
final int level = mAccessPoint.getLevel();
return (level > -1 && level < mLevels.length) ? mLevels[level] : null;