diff options
| author | Cody Kesting <ckesting@google.com> | 2020-02-03 14:56:13 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-02-03 14:56:13 +0000 |
| commit | 4997b874a3738954ead46bc4e484ae320fab9c81 (patch) | |
| tree | 89028454411378dc638149a3eb058e90b3039967 /core/java/android | |
| parent | e534c452500d4db769ed119d6bea047f5e2aaab9 (diff) | |
| parent | aadf4834f1298cc1d7f5ceeabbef673928e3b4da (diff) | |
Merge "Update javadocs for ConnectivityDiagnosticsManager."
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/net/ConnectivityDiagnosticsManager.java | 8 |
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. |
