Include android version in newly deprecated constants

Fix: 258197333
Test: m
Change-Id: I81dc1600953688ee7cfbe645e24df91b00c72857
This commit is contained in:
Ling Ma
2022-12-13 10:09:15 -08:00
parent 7c32f22d7e
commit 8889695728

View File

@@ -2935,7 +2935,7 @@ public class TelephonyManager {
public static final int NETWORK_TYPE_HSPA = TelephonyProtoEnums.NETWORK_TYPE_HSPA; // = 10.
/**
* Current network is iDen
* @deprecated Legacy network type no longer being used.
* @deprecated Legacy network type no longer being used starting in Android U.
*/
@Deprecated
public static final int NETWORK_TYPE_IDEN = TelephonyProtoEnums.NETWORK_TYPE_IDEN; // = 11.
@@ -13960,7 +13960,7 @@ public class TelephonyManager {
* If used, will be converted to {@link #NETWORK_TYPE_BITMASK_LTE}.
* network type bitmask indicating the support of radio tech LTE CA (carrier aggregation).
*
* @deprecated Please use {@link #NETWORK_TYPE_BITMASK_LTE} instead.
* @deprecated Please use {@link #NETWORK_TYPE_BITMASK_LTE} instead. Deprecated in Android U.
*/
@Deprecated
public static final long NETWORK_TYPE_BITMASK_LTE_CA = (1 << (NETWORK_TYPE_LTE_CA -1));