Send special permission information to netd
Netd need the list of apps that have permission INTERNET or permission UPDATE_DEVICE_STATS at run time to make decisions about application request. To avoid protential deadlock and reduce the traffic between netd and system server, Use packageManagerServcie to send the list of apps that have those permissions to netd when device boot and when new apps get installed. Bug: 111560570 Bug: 111560739 Test: install and uninstall packages and dumpsys netd trafficcontroller Change-Id: Idb9905f424557a5c59e35d41f5eafe345aca87e0
Loading
Please register or sign in to comment