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

Commit 1037bbb8 authored by Lucas Lin's avatar Lucas Lin Committed by Gerrit Code Review
Browse files

Merge "Clear all lingering notifications when network is disconnected"

parents f7150486 f80b83b0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2832,6 +2832,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
        if (DBG) {
            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.
        // 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)