Quick fix the getMobileNetworkOperator() in CellIdentity.

Bug: 69915536
Test: Basic telephony sanity
Change-Id: Iac8222055aea95fbb5334876124ce9d1571ae2f6
This commit is contained in:
Cassie
2017-11-30 15:54:51 -08:00
parent 24cd7cbd1e
commit b799fcdd69
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;
}
/**