diff options
author | Zoey Chen <zoeychen@google.com> | 2021-03-09 07:06:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-03-09 07:06:06 +0000 |
commit | 761614c85fdb4f6accdf8ecfc3bc8a65836e2ecb (patch) | |
tree | 7feeef6c470d3fb734fdc39c113efe996e63995b /telephony/java/android | |
parent | 55793cc0cb5c385b7680f7ce1b79838517febe65 (diff) | |
parent | 0aed75aa774a98a37d81fa998fb8dbe6a566b207 (diff) |
Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX"
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/CellIdentity.java | 2 | ||||
-rw-r--r-- | telephony/java/android/telephony/PhysicalChannelConfig.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/CellIdentity.java b/telephony/java/android/telephony/CellIdentity.java index 1e5ce05ff28a..518fabc09838 100644 --- a/telephony/java/android/telephony/CellIdentity.java +++ b/telephony/java/android/telephony/CellIdentity.java @@ -37,7 +37,7 @@ import java.util.UUID; public abstract class CellIdentity implements Parcelable { /** @hide */ - public static final int INVALID_CHANNEL_NUMBER = -1; + public static final int INVALID_CHANNEL_NUMBER = Integer.MAX_VALUE; /** * parameters for validation diff --git a/telephony/java/android/telephony/PhysicalChannelConfig.java b/telephony/java/android/telephony/PhysicalChannelConfig.java index 9fb098ea8758..dfe269cbb0d9 100644 --- a/telephony/java/android/telephony/PhysicalChannelConfig.java +++ b/telephony/java/android/telephony/PhysicalChannelConfig.java @@ -50,7 +50,7 @@ public final class PhysicalChannelConfig implements Parcelable { public static final int CONNECTION_UNKNOWN = -1; /** Channel number is unknown. */ - public static final int CHANNEL_NUMBER_UNKNOWN = -1; + public static final int CHANNEL_NUMBER_UNKNOWN = Integer.MAX_VALUE; /** Physical Cell Id is unknown. */ public static final int PHYSICAL_CELL_ID_UNKNOWN = -1; |