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

Commit 9678c61f authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am fd869887: Merge "Fix a permissions probem in ConnectivityManager"

# Via Android (Google) Code Review (1) and Robert Greenwalt (1)
* commit 'fd869887':
  Fix a permissions probem in ConnectivityManager
parents ac30688b fd869887
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) {