From 809d36111ffcb2aa2231d5e3af3aa454f5d61838 Mon Sep 17 00:00:00 2001 From: Daniel Bright Date: Thu, 2 Jan 2020 14:40:33 -0800 Subject: [PATCH] Removed LTE_CA from Annotations Teams need to directly link to Annotations and having a @hide as a const prevents that @SystemApi methods from doing this. Bug: 146084549 Test: FrameworkServiceTests Change-Id: I2d6ad7621560ef73b10d6eb861c44700b27a2ea6 --- telephony/java/android/telephony/Annotation.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/Annotation.java b/telephony/java/android/telephony/Annotation.java index 077b67adeef6b..9e6dfef0608b4 100644 --- a/telephony/java/android/telephony/Annotation.java +++ b/telephony/java/android/telephony/Annotation.java @@ -98,7 +98,13 @@ public class Annotation { TelephonyManager.NETWORK_TYPE_GSM, TelephonyManager.NETWORK_TYPE_TD_SCDMA, TelephonyManager.NETWORK_TYPE_IWLAN, - TelephonyManager.NETWORK_TYPE_LTE_CA, + + //TODO: In order for @SystemApi methods to use this class, there cannot be any + // public hidden members. This network type is marked as hidden because it is not a + // true network type and we are looking to remove it completely from the available list + // of network types. + //TelephonyManager.NETWORK_TYPE_LTE_CA, + TelephonyManager.NETWORK_TYPE_NR, }) @Retention(RetentionPolicy.SOURCE)