2 ms·
Android does not expose a firewall API. It does expose a VPN API that lets the developers choose how to handle traffic. This can be useful for VPNs that only wa
by jeroenhd 4y ago
Android does not expose a firewall API. It does expose a VPN API that lets the developers choose how to handle traffic. This can be useful for VPNs that only want to connect to intranet websites through the VPN and let the rest of the traffic go through the normal route.
Adblockers use this API to block connections, redirect DNS traffic, or possibly even rewrite content for DNS lookups. There is no system wide content blocker and even if there was, there is no way to enforce applications to use a content-blockable network API.