summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2021-03-11 18:02:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-11 18:02:36 +0000
commit1bec754c8b6724b5fc78995c374f3d8e40fb2075 (patch)
tree4c2f217d4026847218481b43de2c40a8c2440328
parentc06b30063862e0b4a8dc7d2c5d5bbb0e5c50cd52 (diff)
parent6401192d92278d3f74bcb577c0d6f73aef77c582 (diff)
Merge "Update comments on onApnUnthrottled"
-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");