Expose registerDefaultNetworkCallbackAsUid.

Bug: 165835257
Test: atest FrameworksNetTests
Change-Id: I638ed5cd5273d456919630aba1e22f099df1b36c
This commit is contained in:
Lorenzo Colitti
2021-03-22 18:23:21 +09:00
parent 2a49c5d456
commit 92ed8b9bab
2 changed files with 2 additions and 1 deletions

View File

@@ -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,