Return for getBlockedPorts NonNull

Set annotation for _getPortsBlockedForBind to NonNull.

Change-Id: If91459494601ee157c5032c6cce9b9baf4812f87
This commit is contained in:
Tyler Wear 2022-11-15 13:44:04 -08:00
commit 98401e171e

View file

@ -78,7 +78,7 @@ int AConnectivityNative_unblockAllPortsForBind() __INTRODUCED_IN(__ANDROID_API_U
* @param count Pointer to the size of the ports array; the value will be set to the total number of
* blocked ports, which may be larger than the ports array that was filled.
*/
int AConnectivityNative_getPortsBlockedForBind(in_port_t *ports, size_t *count)
int AConnectivityNative_getPortsBlockedForBind(in_port_t* _Nonnull ports, size_t* _Nonnull count)
__INTRODUCED_IN(__ANDROID_API_U__);
__END_DECLS