| Filename | Latest commit message | Latest commit date |
|---|---|---|
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 |
||
| .. | ||
| android | ||