Merge "Remove NETWORK_STACK_UID check" am: 5f7eb9024e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635323 Change-Id: I5ae4b49d3168e48ccd6b61ee349ae89041e3de05
This commit is contained in:
commit
f23bda53b2
1 changed files with 1 additions and 2 deletions
|
|
@ -3806,8 +3806,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
? mNetworkRequests.get(request) : getNriForAppRequest(request);
|
||||
|
||||
if (nri != null) {
|
||||
if (Process.SYSTEM_UID != callingUid && Process.NETWORK_STACK_UID != callingUid
|
||||
&& nri.mUid != callingUid) {
|
||||
if (Process.SYSTEM_UID != callingUid && nri.mUid != callingUid) {
|
||||
log(String.format("UID %d attempted to %s for unowned request %s",
|
||||
callingUid, requestedOperation, nri));
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue