Merge "Remove deprecated AccessPoint#getConfigName() in SavedNetworkComparator"
This commit is contained in:
committed by
Android (Google) Code Review
commit
fbaae11bd7
@@ -30,7 +30,7 @@ public final class SavedNetworkComparator {
|
|||||||
@Override
|
@Override
|
||||||
public int compare(AccessPoint ap1, AccessPoint ap2) {
|
public int compare(AccessPoint ap1, AccessPoint ap2) {
|
||||||
return mCollator.compare(
|
return mCollator.compare(
|
||||||
nullToEmpty(ap1.getConfigName()), nullToEmpty(ap2.getConfigName()));
|
nullToEmpty(ap1.getTitle()), nullToEmpty(ap2.getTitle()));
|
||||||
}
|
}
|
||||||
|
|
||||||
private String nullToEmpty(String string) {
|
private String nullToEmpty(String string) {
|
||||||
|
Reference in New Issue
Block a user