summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Daniel Bright <dbright@google.com> 2021-03-11 19:07:29 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-03-11 19:07:29 +0000
commit27a0642a9bd17b22ed5a7974a76a7c97ef337f7c (patch)
tree1413db72641ee36ba747014aef43872c802d565d
parent8a71bbc85f434ad5159e80a5e8a6d2f7948b2fae (diff)
parentbb58b8a819d79fe150a219e660aac598a25b6c98 (diff)
Merge "Update comments on onApnUnthrottled" am: 1bec754c8b am: bb58b8a819
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626323 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iafbd99a78e3cf47d5a265a88978e2a1a9e25cb70
-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");