Expose registerDefaultNetworkCallbackAsUid.
Bug: 165835257 Test: atest FrameworksNetTests Change-Id: I638ed5cd5273d456919630aba1e22f099df1b36c
This commit is contained in:
parent
b199b960c7
commit
3949d6ed96
1 changed files with 2 additions and 1 deletions
|
|
@ -4252,7 +4252,7 @@ public class ConnectivityManager {
|
|||
* @throws RuntimeException if the app already has too many callbacks registered.
|
||||
* @hide
|
||||
*/
|
||||
// TODO: @SystemApi(client=MODULE_LIBRARIES)
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
@SuppressLint({"ExecutorRegistration", "PairedRegistration"})
|
||||
@RequiresPermission(anyOf = {
|
||||
NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK,
|
||||
|
|
|
|||
Loading…
Reference in a new issue