notify netd about uid internet permission changes when package replaced

1. If a previous version of an app doesn't declare internet permission;
2. The User upgraded it to a new version and the new one does declare the
internet permission;
3. The new app are not allowed to access the internet until next boot

Bug: 137864893
Test: Manual, just make sure the onPackageChanged would be executed on package changes
Change-Id: I69cdbb16a027a9c4e974b32371b1f64a23a51a23
Signed-off-by: wangmingming1 <wangmingming1@xiaomi.com>
1 file changed
tree: a3f60cc01169d4cb2f96f5ed0f36bef22e841322
  1. core/
  2. services/
  3. tests/