Loading services/java/com/android/server/NetworkManagementService.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -238,6 +238,11 @@ public class NetworkManagementService extends INetworkManagementService.Stub * Notify our observers of an interface removal. * Notify our observers of an interface removal. */ */ private void notifyInterfaceRemoved(String iface) { private void notifyInterfaceRemoved(String iface) { // netd already clears out quota and alerts for removed ifaces; update // our sanity-checking state. mActiveAlertIfaces.remove(iface); mActiveQuotaIfaces.remove(iface); for (INetworkManagementEventObserver obs : mObservers) { for (INetworkManagementEventObserver obs : mObservers) { try { try { obs.interfaceRemoved(iface); obs.interfaceRemoved(iface); Loading Loading
services/java/com/android/server/NetworkManagementService.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -238,6 +238,11 @@ public class NetworkManagementService extends INetworkManagementService.Stub * Notify our observers of an interface removal. * Notify our observers of an interface removal. */ */ private void notifyInterfaceRemoved(String iface) { private void notifyInterfaceRemoved(String iface) { // netd already clears out quota and alerts for removed ifaces; update // our sanity-checking state. mActiveAlertIfaces.remove(iface); mActiveQuotaIfaces.remove(iface); for (INetworkManagementEventObserver obs : mObservers) { for (INetworkManagementEventObserver obs : mObservers) { try { try { obs.interfaceRemoved(iface); obs.interfaceRemoved(iface); Loading