From 6bc0f7cda3a005918cde41877d1dac929a8d41df Mon Sep 17 00:00:00 2001 From: Daniel Bright Date: Wed, 9 Dec 2020 16:19:23 -0800 Subject: 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 --- core/api/system-current.txt | 1 - telephony/java/android/telephony/data/ApnThrottleStatus.java | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-59-g8ed1b