android_packages_modules_Co.../framework/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai aa4ad8c2d1 Allow USE_RESTRICTED_NETWORKS for registerSystemDefaultNetworkCallback
Some callers (e.g. iwlan) need to learn about system default
network but they cannot have NETWORK_SETTINGS permission.
To allow them to use this API but prevent from misuse by
unprivileged apps, enforce USE_RESTRICTED_NETWORKS for this API.

Test: atest com.android.server.ConnectivityServiceTest#testRegisterPrivilegedDefaultCallbacksRequireNetworkSettings android.net.cts.ConnectivityManagerTest#testRegisterNetworkCallback
Fix: 242456635
Change-Id: I80ab27445af874328c9c0f4814a8fbf035ae5df4
2022-11-02 14:16:36 +08:00
..
current.txt Revert "[ST02.1] Add TYPE_CNAME constant to DnsResolver" 2022-09-08 11:01:05 +00:00
lint-baseline.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
module-lib-current.txt Allow USE_RESTRICTED_NETWORKS for registerSystemDefaultNetworkCallback 2022-11-02 14:16:36 +08:00
module-lib-removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
system-current.txt Unfinalize additional methods in NetworkAgent 2022-06-15 09:16:50 +00:00
system-lint-baseline.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00
system-removed.txt Split out the connectivity API surface 2021-02-26 19:23:25 +09:00