Merge "Null-check argument to ConnectivityManager.releaseNetworkRequest(PendingIntent)" into mnc-dev
This commit is contained in:
@@ -3640,6 +3640,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void releasePendingNetworkRequest(PendingIntent operation) {
|
public void releasePendingNetworkRequest(PendingIntent operation) {
|
||||||
|
checkNotNull(operation, "PendingIntent cannot be null.");
|
||||||
mHandler.sendMessage(mHandler.obtainMessage(EVENT_RELEASE_NETWORK_REQUEST_WITH_INTENT,
|
mHandler.sendMessage(mHandler.obtainMessage(EVENT_RELEASE_NETWORK_REQUEST_WITH_INTENT,
|
||||||
getCallingUid(), 0, operation));
|
getCallingUid(), 0, operation));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user