Merge "Quick fix the getMobileNetworkOperator() in CellIdentity."

This commit is contained in:
Treehugger Robot
2017-12-01 05:19:29 +00:00
committed by Gerrit Code Review
3 changed files with 3 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ public final class CellIdentityGsm implements Parcelable {
* @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
*/
public String getMobileNetworkOperator() {
return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
}
/**

View File

@@ -213,7 +213,7 @@ public final class CellIdentityLte implements Parcelable {
* @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
*/
public String getMobileNetworkOperator() {
return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
}
/**

View File

@@ -208,7 +208,7 @@ public final class CellIdentityWcdma implements Parcelable {
* @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
*/
public String getMobileNetworkOperator() {
return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
}
/**