commit | 946cafb87eab5c71ec2fa5d48b4219f0bc53bb26 | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Wed Oct 18 15:32:33 2023 +0800 |
committer | Hansen Kurli <hkurli@google.com> | Mon Oct 23 15:12:21 2023 +0800 |
tree | 10f19a1878720f33641845c824906a663c8e979e | |
parent | a0cca025153a85f7fa9a267b9b145ee77a374f39 [diff] |
Refactor helper method to return integer ranges. Calls to setRequireVpnForUids() for Vpn lockdown actually uses a List instead of a Set of integer ranges. Add intRangesExcludingUids() to return the needed List of integer ranges and replace relevant usages of UidRange.toIntRanges() with it. Bug: 230548427 Test: atest FrameworksNetTests Change-Id: I61cd4751ce2faeb129daa5ad5da7181e3c1df73c