summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2021-03-10 11:02:23 -0800
committerDaniel Bright <dbright@google.com>2021-03-10 11:02:23 -0800
commit6401192d92278d3f74bcb577c0d6f73aef77c582 (patch)
tree380e8c0c19116b8925512d76eb37d0d5abff3e5c
parent0272e96327f70ad35fad3efb2e46b5a7ef986e0a (diff)
Update comments on onApnUnthrottled
Bug: 175092152 Test: N/A Change-Id: Ibe4ca4d9881f933affee4b138b980ca49deff15d
-rw-r--r--telephony/java/android/telephony/data/DataServiceCallback.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/data/DataServiceCallback.java b/telephony/java/android/telephony/data/DataServiceCallback.java
index ca1f861f9808..363e47a6d242 100644
--- a/telephony/java/android/telephony/data/DataServiceCallback.java
+++ b/telephony/java/android/telephony/data/DataServiceCallback.java
@@ -254,15 +254,15 @@ public class DataServiceCallback {
}
/**
- * The APN is throttled for the duration specified in
- * {@link DataCallResponse#getRetryDurationMillis}. Calling this method unthrottles that
- * APN.
+ * Unthrottles the APN on the current transport. There is no matching "APN throttle" method.
+ * Instead, the APN is throttled for the time specified in
+ * {@link DataCallResponse#getRetryDurationMillis}.
* <p/>
* see: {@link DataCallResponse#getRetryDurationMillis}
*
* @param apn Access Point Name defined by the carrier.
*/
- public void onApnUnthrottled(@NonNull String apn) {
+ public void onApnUnthrottled(final @NonNull String apn) {
if (mCallback != null) {
try {
if (DBG) Rlog.d(TAG, "onApnUnthrottled");