am 3a017f2c: Merge "Fix display of "null" string shown in Wifi Settings for AP." into mnc-dev
* commit '3a017f2c32eada0af896f8acb30353da05eef8e6': Fix display of "null" string shown in Wifi Settings for AP.
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