From 3f9e9edb8e09693677ef4f09c2a5e7f3c9ca7534 Mon Sep 17 00:00:00 2001 From: Mingming Cai Date: Fri, 17 Apr 2020 03:17:46 -0700 Subject: [PATCH] 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 --- telephony/java/android/telephony/CellIdentity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/CellIdentity.java b/telephony/java/android/telephony/CellIdentity.java index 390a79ab1b887..33a43c1e0319e 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 */