android_packages_modules_Co.../framework
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
..
aidl-export/android/net Merge history of ConnectivityT 2022-03-25 11:02:45 +00:00
api Allow USE_RESTRICTED_NETWORKS for registerSystemDefaultNetworkCallback 2022-11-02 14:16:36 +08:00
jni fix native jni method signature - these are all static methods 2022-07-28 18:08:22 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Allow USE_RESTRICTED_NETWORKS for registerSystemDefaultNetworkCallback 2022-11-02 14:16:36 +08:00
Android.bp Use conventional args style for gen_jarjar 2022-08-25 06:42:54 +00:00
jarjar-excludes.txt Add jarjar rules generator 2022-06-14 09:11:27 +00:00