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

Commit d9e0786f authored by Lucas Lin's avatar Lucas Lin Committed by android-build-merger
Browse files

Merge "Clear all lingering notifications when network is disconnected" am:...

Merge "Clear all lingering notifications when network is disconnected" am: 1037bbb8 am: deac15fa
am: 238ddb62

Change-Id: I2ef6009364bd1420c915df003e2ff5c3857ef3e7
parents 05141df1 238ddb62
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2842,6 +2842,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
        if (DBG) {
        if (DBG) {
            log(nai.name() + " got DISCONNECTED, was satisfying " + nai.numNetworkRequests());
            log(nai.name() + " got DISCONNECTED, was satisfying " + nai.numNetworkRequests());
        }
        }
        // Clear all notifications of this network.
        mNotifier.clearNotification(nai.network.netId);
        // A network agent has disconnected.
        // A network agent has disconnected.
        // TODO - if we move the logic to the network agent (have them disconnect
        // TODO - if we move the logic to the network agent (have them disconnect
        // because they lost all their requests or because their score isn't good)
        // because they lost all their requests or because their score isn't good)