summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2020-12-09 16:19:23 -0800
committerDaniel Bright <dbright@google.com>2021-02-09 05:25:47 -0800
commit6bc0f7cda3a005918cde41877d1dac929a8d41df (patch)
tree984177ddc7b85910339073ee321a2fe60c1155fe
parentc2d6240642852362dc6e255d6396b9065e79762c (diff)
Hide NO_THROTTLE_EXPIRY_TIME
There is no reason to expose NO_THROTTLE_EXPIRY_TIME since the fact that the apn was not throttle can be explicitly checked for by checking the throttle type. Test: N/A Bug: 175092152 Merged-In: I8888fae0037fd04e1668ab51eff91dd2bcb5e057 Change-Id: I8888fae0037fd04e1668ab51eff91dd2bcb5e057
-rw-r--r--core/api/system-current.txt1
-rw-r--r--telephony/java/android/telephony/data/ApnThrottleStatus.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index 5fb898a282a8..d66a96b400eb 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -10756,7 +10756,6 @@ package android.telephony.data {
method @NonNull public android.telephony.data.ApnThrottleStatus.Builder setSlotIndex(int);
method @NonNull public android.telephony.data.ApnThrottleStatus.Builder setThrottleExpiryTimeMillis(long);
method @NonNull public android.telephony.data.ApnThrottleStatus.Builder setTransportType(int);
- field public static final long NO_THROTTLE_EXPIRY_TIME = -1L; // 0xffffffffffffffffL
}
public final class DataCallResponse implements android.os.Parcelable {
diff --git a/telephony/java/android/telephony/data/ApnThrottleStatus.java b/telephony/java/android/telephony/data/ApnThrottleStatus.java
index 51461d17690a..eec140869466 100644
--- a/telephony/java/android/telephony/data/ApnThrottleStatus.java
+++ b/telephony/java/android/telephony/data/ApnThrottleStatus.java
@@ -261,6 +261,10 @@ public final class ApnThrottleStatus implements Parcelable {
private long mThrottleExpiryTimeMillis;
private @RetryType int mRetryType;
private @ThrottleType int mThrottleType;
+
+ /**
+ * @hide
+ */
public static final long NO_THROTTLE_EXPIRY_TIME =
DataCallResponse.RETRY_DURATION_UNDEFINED;