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 Change-Id: I8888fae0037fd04e1668ab51eff91dd2bcb5e057
This commit is contained in:
@@ -11153,7 +11153,6 @@ package android.telephony.data {
|
|||||||
method @NonNull public android.telephony.data.ApnThrottleStatus.Builder setSlotIndex(int);
|
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 setThrottleExpiryTimeMillis(long);
|
||||||
method @NonNull public android.telephony.data.ApnThrottleStatus.Builder setTransportType(int);
|
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 {
|
public final class DataCallResponse implements android.os.Parcelable {
|
||||||
|
|||||||
@@ -261,6 +261,10 @@ public final class ApnThrottleStatus implements Parcelable {
|
|||||||
private long mThrottleExpiryTimeMillis;
|
private long mThrottleExpiryTimeMillis;
|
||||||
private @RetryType int mRetryType;
|
private @RetryType int mRetryType;
|
||||||
private @ThrottleType int mThrottleType;
|
private @ThrottleType int mThrottleType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
public static final long NO_THROTTLE_EXPIRY_TIME =
|
public static final long NO_THROTTLE_EXPIRY_TIME =
|
||||||
DataCallResponse.RETRY_DURATION_UNDEFINED;
|
DataCallResponse.RETRY_DURATION_UNDEFINED;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user