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

Commit 79bb9aa9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Split networkDestroy() and destroyNetworkCache()"

parents 00ccf9e4 60adc5cf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3773,6 +3773,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
    private void destroyNativeNetwork(@NonNull NetworkAgentInfo networkAgent) {
        try {
            mNetd.networkDestroy(networkAgent.network.getNetId());
        } catch (RemoteException | ServiceSpecificException e) {
            loge("Exception destroying network(networkDestroy): " + e);
        }
        try {
            mDnsResolver.destroyNetworkCache(networkAgent.network.getNetId());
        } catch (RemoteException | ServiceSpecificException e) {
            loge("Exception destroying network: " + e);