Make CellIdentity#getPlmn() Publicly Accessible

Add support for telephony to access getPlmn().

Bug: 148111627
Test: compilation (trivial)
Merged-In: I5a79e5339a7e4e1351582f199559801069df0c76
Change-Id: I5a79e5339a7e4e1351582f199559801069df0c76
(cherry picked from commit 741d281c60)
This commit is contained in:
Nathan Harold
2020-04-21 18:45:30 -07:00
parent 7cea5cddcb
commit e69e5b0c9c

View File

@@ -211,7 +211,7 @@ public abstract class CellIdentity implements Parcelable {
}
/** @hide */
protected String getPlmn() {
public @Nullable String getPlmn() {
if (mMccStr == null || mMncStr == null) return null;
return mMccStr + mMncStr;
}