Merge "Allow NetworkRequest release from the system process." into lmp-dev
This commit is contained in:
commit
222d91c66b
1 changed files with 1 additions and 1 deletions
|
|
@ -2160,7 +2160,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
private void handleReleaseNetworkRequest(NetworkRequest request, int callingUid) {
|
||||
NetworkRequestInfo nri = mNetworkRequests.get(request);
|
||||
if (nri != null) {
|
||||
if (nri.mUid != callingUid) {
|
||||
if (Process.SYSTEM_UID != callingUid && nri.mUid != callingUid) {
|
||||
if (DBG) log("Attempt to release unowned NetworkRequest " + request);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue