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

Commit fd869887 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Fix a permissions probem in ConnectivityManager"

parents f0b36c55 9055ae36
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1315,7 +1315,13 @@ public class ConnectivityService extends IConnectivityManager.Stub {
            if (usedNetworkType != networkType) {
                Integer currentPid = new Integer(pid);
                mNetRequestersPids[usedNetworkType].remove(currentPid);

                final long token = Binder.clearCallingIdentity();
                try {
                    reassessPidDns(pid, true);
                } finally {
                    Binder.restoreCallingIdentity(token);
                }
                flushVmDnsCache();
                if (mNetRequestersPids[usedNetworkType].size() != 0) {
                    if (VDBG) {