Fix display of "null" string shown in Wifi Settings for AP.
Bug: 21476825 Change-Id: I643dcaa3112ff896e7b0abd998f2ad5e13187706
This commit is contained in:
@@ -755,7 +755,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
|
||||
int index = state.ordinal();
|
||||
|
||||
if (index >= formats.length || formats[index].length() == 0) {
|
||||
return null;
|
||||
return "";
|
||||
}
|
||||
return String.format(formats[index], ssid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user