summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mingming Cai <mingcai@google.com> 2020-04-17 03:17:46 -0700
committer Mingming Cai <mingcai@google.com> 2020-04-17 17:14:51 -0700
commit81a5d6ac6521ff74fc646fd6de6da929ef25e0f4 (patch)
treec171ea52dc13567f854d64b72840e77fcc4ea1e3
parentca4379a86670ee67f3563a0e6cb8e91c1411a5c1 (diff)
Make MNC length hidden public
Make CellIdentity.MNC_MIN_LENGTH and CellIdentity.MNC_MAX_LENGTH hidden public to support IccRecords changes. Bug: 152518548 Test: make Change-Id: Ic253a6bbbf07e4ce62a7ea25ca67dff54e2c67c8 Merged-In: Ic253a6bbbf07e4ce62a7ea25ca67dff54e2c67c8 (cherry picked from commit 3f9e9edb8e09693677ef4f09c2a5e7f3c9ca7534)
-rw-r--r--telephony/java/android/telephony/CellIdentity.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/CellIdentity.java b/telephony/java/android/telephony/CellIdentity.java
index 390a79ab1b88..33a43c1e0319 100644
--- a/telephony/java/android/telephony/CellIdentity.java
+++ b/telephony/java/android/telephony/CellIdentity.java
@@ -45,8 +45,10 @@ public abstract class CellIdentity implements Parcelable {
*/
public static final int MCC_LENGTH = 3;
- private static final int MNC_MIN_LENGTH = 2;
- private static final int MNC_MAX_LENGTH = 3;
+ /** @hide */
+ public static final int MNC_MIN_LENGTH = 2;
+ /** @hide */
+ public static final int MNC_MAX_LENGTH = 3;
// Log tag
/** @hide */