summaryrefslogtreecommitdiff
path: root/telephony
diff options
context:
space:
mode:
author Rambo Wang <rambowang@google.com> 2023-08-08 00:23:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-08 00:23:20 +0000
commitc433591013da8dccf7c65f983c240fd669131712 (patch)
tree8423e87d5960ef0286eba201ad18b87570242162 /telephony
parent9089e915a361eeee5deedba17c1c1d59d62d5e1c (diff)
parentee1c07cb07190cdc6ae7e838efa72810d7334e32 (diff)
Merge "PhysicalChannelConfig: deprecate cell connection status enums" into main
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/PhysicalChannelConfig.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/PhysicalChannelConfig.java b/telephony/java/android/telephony/PhysicalChannelConfig.java
index 212aaaed46b2..2c6d457916f1 100644
--- a/telephony/java/android/telephony/PhysicalChannelConfig.java
+++ b/telephony/java/android/telephony/PhysicalChannelConfig.java
@@ -37,15 +37,26 @@ public final class PhysicalChannelConfig implements Parcelable {
/**
* UE has connection to cell for signalling and possibly data (3GPP 36.331, 25.331).
+ *
+ * @deprecated Use {@link CellInfo#CONNECTION_PRIMARY_SERVING} instead.
*/
+ @Deprecated
public static final int CONNECTION_PRIMARY_SERVING = 1;
/**
* UE has connection to cell for data (3GPP 36.331, 25.331).
+ *
+ * @deprecated Use {@link CellInfo#CONNECTION_SECONDARY_SERVING} instead.
*/
+ @Deprecated
public static final int CONNECTION_SECONDARY_SERVING = 2;
- /** Connection status is unknown. */
+ /**
+ * Connection status is unknown.
+ *
+ * @deprecated Use {@link CellInfo#CONNECTION_UNKNOWN} instead.
+ */
+ @Deprecated
public static final int CONNECTION_UNKNOWN = -1;
/** Channel number is unknown. */