android_packages_modules_Co.../framework
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
..
aidl-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
jni Check whether kernel is for X86 via JNI 2024-02-09 19:13:07 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
Android.bp Reland cronet 121_0_6167_71: remove http_client_logging lib 2024-04-15 11:29:55 +00:00
jarjar-excludes.txt Add LocalNetworkInfo and send callbacks when it changes 2023-11-07 17:29:38 +09:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00