Merge "Clarify comments for Connectivity Diagnostics reports." am: 87ce14f328
Change-Id: If353d65d28842c6eb621a8881e9279a018fa9ffa
This commit is contained in:
@@ -659,8 +659,8 @@ public class ConnectivityDiagnosticsManager {
|
|||||||
public abstract static class ConnectivityDiagnosticsCallback {
|
public abstract static class ConnectivityDiagnosticsCallback {
|
||||||
/**
|
/**
|
||||||
* Called when the platform completes a data connectivity check. This will also be invoked
|
* Called when the platform completes a data connectivity check. This will also be invoked
|
||||||
* immediately upon registration with the latest report, if a report has already been
|
* immediately upon registration for each network matching the request with the latest
|
||||||
* generated for this network.
|
* report, if a report has already been generated for that network.
|
||||||
*
|
*
|
||||||
* <p>The Network specified in the ConnectivityReport may not be active any more when this
|
* <p>The Network specified in the ConnectivityReport may not be active any more when this
|
||||||
* method is invoked.
|
* method is invoked.
|
||||||
|
|||||||
@@ -244,8 +244,9 @@ public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> {
|
|||||||
// How many of the satisfied requests are of type BACKGROUND_REQUEST.
|
// How many of the satisfied requests are of type BACKGROUND_REQUEST.
|
||||||
private int mNumBackgroundNetworkRequests = 0;
|
private int mNumBackgroundNetworkRequests = 0;
|
||||||
|
|
||||||
// The last ConnectivityReport made available for this network.
|
// The last ConnectivityReport made available for this network. This value is only null before a
|
||||||
private ConnectivityReport mConnectivityReport;
|
// report is generated. Once non-null, it will never be null again.
|
||||||
|
@Nullable private ConnectivityReport mConnectivityReport;
|
||||||
|
|
||||||
public final Messenger messenger;
|
public final Messenger messenger;
|
||||||
public final AsyncChannel asyncChannel;
|
public final AsyncChannel asyncChannel;
|
||||||
|
|||||||
Reference in New Issue
Block a user