summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-02-03 15:12:13 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-02-03 15:12:13 +0000
commit99260bea0b127553ab49d563239d5b606fc44205 (patch)
treea584cfeed1c688adef4b7e1f681174660c66fbc4
parentdcc5a26aa059709ce57e375fa9919a1e95e33ce1 (diff)
parent704eab60ebe4d4c64decab473f80d8a1400f37b9 (diff)
Merge "Update javadocs for ConnectivityDiagnosticsManager." am: 4997b874a3 am: 704eab60eb
Change-Id: Ie1ee81c6050df22b6e3cf9b752e34a1b01430634
-rw-r--r--core/java/android/net/ConnectivityDiagnosticsManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/net/ConnectivityDiagnosticsManager.java b/core/java/android/net/ConnectivityDiagnosticsManager.java
index d018cbd904c1..140363c48227 100644
--- a/core/java/android/net/ConnectivityDiagnosticsManager.java
+++ b/core/java/android/net/ConnectivityDiagnosticsManager.java
@@ -639,8 +639,9 @@ public class ConnectivityDiagnosticsManager {
/**
* Registers a ConnectivityDiagnosticsCallback with the System.
*
- * <p>Only apps that offer network connectivity to the user are allowed to register callbacks.
- * This includes:
+ * <p>Only apps that offer network connectivity to the user should be registering callbacks.
+ * These are the only apps whose callbacks will be invoked by the system. Apps considered to
+ * meet these conditions include:
*
* <ul>
* <li>Carrier apps with active subscriptions
@@ -648,8 +649,7 @@ public class ConnectivityDiagnosticsManager {
* <li>WiFi Suggesters
* </ul>
*
- * <p>Callbacks will be limited to receiving notifications for networks over which apps provide
- * connectivity.
+ * <p>Callbacks registered by apps not meeting the above criteria will not be invoked.
*
* <p>If a registering app loses its relevant permissions, any callbacks it registered will
* silently stop receiving callbacks.