From 25dcad3f597081ec6080f21cbdfbef011a7758de Mon Sep 17 00:00:00 2001 From: Daniel Bright Date: Mon, 6 Jan 2020 11:34:35 -0800 Subject: [PATCH] Commented out NETWORK_TYPE_LTE_CA in logging function Bug: 147111233 Test: TelephonyRegistryTest Change-Id: If5714d147c583e5d76a35d3f215ce818129f8e3d --- .../java/com/android/server/TelephonyRegistry.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/core/java/com/android/server/TelephonyRegistry.java b/services/core/java/com/android/server/TelephonyRegistry.java index 783715cd84bcd..2fb0048345c64 100644 --- a/services/core/java/com/android/server/TelephonyRegistry.java +++ b/services/core/java/com/android/server/TelephonyRegistry.java @@ -2651,8 +2651,14 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub { return "TD_SCDMA"; case TelephonyManager.NETWORK_TYPE_IWLAN: return "IWLAN"; - case TelephonyManager.NETWORK_TYPE_LTE_CA: - return "LTE_CA"; + + //TODO: 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. Since this method is only used for logging, in the event that this + // network type is selected, the log will read as "Unknown." + //case TelephonyManager.NETWORK_TYPE_LTE_CA: + // return "LTE_CA"; + case TelephonyManager.NETWORK_TYPE_NR: return "NR"; default: