From b1c7e21066f76299f0921a97442e1127b490d340 Mon Sep 17 00:00:00 2001 From: Bonian Chen Date: Mon, 6 Apr 2020 22:24:21 +0800 Subject: [PATCH] [Settings] Core refactor Remove empty lines, and maintain the comments. Bug: 150352656 Test: build pass Change-Id: If0552d7ce20de5941667aa64e682202aaf32c597 --- .../settings/network/telephony/TelephonyConstants.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/com/android/settings/network/telephony/TelephonyConstants.java b/src/com/android/settings/network/telephony/TelephonyConstants.java index 2a2613cc497..78a177edccc 100644 --- a/src/com/android/settings/network/telephony/TelephonyConstants.java +++ b/src/com/android/settings/network/telephony/TelephonyConstants.java @@ -16,7 +16,6 @@ package com.android.settings.network.telephony; - import android.telephony.TelephonyManager; /** @@ -210,6 +209,12 @@ public class TelephonyConstants { * Copied from {@link android.telephony.RadioAccessFamily} */ public static class RadioAccessFamily { + /** + * TODO: get rid of RAF definition in RadioAccessFamily and + * use {@link TelephonyManager.NetworkTypeBitMask} + * TODO: public definition {@link TelephonyManager.NetworkTypeBitMask} is long. + * TODO: Convert from int * to long everywhere including HAL definitions. + */ // 2G public static final int RAF_UNKNOWN = (int) TelephonyManager.NETWORK_TYPE_BITMASK_UNKNOWN; public static final int RAF_GSM = (int) TelephonyManager.NETWORK_TYPE_BITMASK_GSM; @@ -245,9 +250,7 @@ public class TelephonyConstants { public static final int WCDMA = HS | RAF_UMTS; // 4G public static final int LTE = RAF_LTE | RAF_LTE_CA; - // 5G public static final int NR = RAF_NR; - } }