Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 920cb67f authored by Cody Kesting's avatar Cody Kesting Committed by Automerger Merge Worker
Browse files

Clarify comments for Connectivity Diagnostics reports. am: 95a98c2e am: 412cbc87 am: 6205fb32

Change-Id: I4176f03baed22d101a78fa9dc26c9ac1b5447671
parents 833019fd 6205fb32
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -659,8 +659,8 @@ public class ConnectivityDiagnosticsManager {
    public abstract static class ConnectivityDiagnosticsCallback {
        /**
         * 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
         * generated for this network.
         * immediately upon registration for each network matching the request with the latest
         * 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
         * method is invoked.
+3 −2
Original line number Diff line number Diff line
@@ -244,8 +244,9 @@ public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> {
    // How many of the satisfied requests are of type BACKGROUND_REQUEST.
    private int mNumBackgroundNetworkRequests = 0;

    // The last ConnectivityReport made available for this network.
    private ConnectivityReport mConnectivityReport;
    // The last ConnectivityReport made available for this network. This value is only null before a
    // report is generated. Once non-null, it will never be null again.
    @Nullable private ConnectivityReport mConnectivityReport;

    public final Messenger messenger;
    public final AsyncChannel asyncChannel;