Merge "Remove NETWORK_STACK_UID check"
This commit is contained in:
@@ -3806,8 +3806,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
? mNetworkRequests.get(request) : getNriForAppRequest(request);
|
? mNetworkRequests.get(request) : getNriForAppRequest(request);
|
||||||
|
|
||||||
if (nri != null) {
|
if (nri != null) {
|
||||||
if (Process.SYSTEM_UID != callingUid && Process.NETWORK_STACK_UID != callingUid
|
if (Process.SYSTEM_UID != callingUid && nri.mUid != callingUid) {
|
||||||
&& nri.mUid != callingUid) {
|
|
||||||
log(String.format("UID %d attempted to %s for unowned request %s",
|
log(String.format("UID %d attempted to %s for unowned request %s",
|
||||||
callingUid, requestedOperation, nri));
|
callingUid, requestedOperation, nri));
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user