Follow-up commit of aosp/2367328
This commit resolves comments addressed in aosp/2367328.
- Allow the feature to work on all types of networks.
- Improve error handling.
- Rename ‘settings’ to ‘rangeConfigs’.
- Rename ‘mUidsAbleToSelectThisNetwork’ to ‘mAllowedUids’.
- Add more comments.
- Extends test to verify if UIDs are reset when the setting for a
network is not provided in the INetd::setNetworkAllowlist.
Bug: 263219497
Test: netd_integration_tests
Change-Id: I6c0d0f92939678b1eac4a7ea621e46bd410199b9
7 files changed