From 741d281c60ae7a2958e71ec907f432ef2721fb4e Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Tue, 21 Apr 2020 18:45:30 -0700 Subject: [PATCH] Make CellIdentity#getPlmn() Publicly Accessible Add support for telephony to access getPlmn(). Bug: 148111627 Test: compilation (trivial) Change-Id: I5a79e5339a7e4e1351582f199559801069df0c76 --- telephony/java/android/telephony/CellIdentity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/CellIdentity.java b/telephony/java/android/telephony/CellIdentity.java index 33a43c1e0319e..1e5ce05ff28a4 100644 --- a/telephony/java/android/telephony/CellIdentity.java +++ b/telephony/java/android/telephony/CellIdentity.java @@ -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; }