android_packages_modules_Co.../common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi ee96ba0e60 Add blocked reason for internet permission
Currently, even if apps don't have INTERNET permission and can not use
network, network access is considered not blocked and
ConnectivityService send onBlockedStatusChanged callback with
blocked=false.
This CL introduced BLOCKED_REASON_NETWORK_RESTRICTED and consider
network access from apps targetting W+ on V+ releases is blocked if apps
don't have INTERNET permission.
Permission is set when the user is added or package is installed and
permission is removed when the user is removed or packages is
uninstalled.
So ConnectivityService does not need to monitor permission change to
send onBlockedStatusChanged callback by permission change.

Test: CSBlockedReasonsTest
Bug: 339559837

Change-Id: I58d2a4eddc714e205f5b96219f95b637f2826c58
2024-05-24 13:45:51 +09:00
..
src/com/android/net/module/util/bpf clat bpf: add byte/packet counter 2024-03-19 07:54:36 +00:00
Android.bp Separate Struct.java into its own lib. 2024-03-27 20:15:17 +08:00
FlaggedApi.bp Make com.android.tethering the flag container instead of system 2024-04-25 09:46:33 +01:00
flags.aconfig Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
nearby_flags.aconfig Make com.android.tethering the flag container instead of system 2024-04-25 09:46:33 +01:00
OWNERS [Thread] add Thread aconfig_declaration to java_sdk_library 2024-02-26 11:18:03 +08:00
thread_flags.aconfig Make com.android.tethering the flag container instead of system 2024-04-25 09:46:33 +01:00