commit | ea62910ed22d85d1de6e5dbbe8b802d445995ba9 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Thu Aug 25 08:20:16 2022 +0000 |
committer | Paul Hu <paulhu@google.com> | Tue Nov 22 09:18:44 2022 +0000 |
tree | c781997ef1364b80b52492ecc918fd9dbbb9d88b | |
parent | 51f816be4abee6f5ffcedc859deb19ce85ddaa39 [diff] |
Add synchronized to UidRange getter and dump methods - The UidRange getter and dump methods which is to access mVpnInterfaceUidRanges and mVpnLockdownUidRanges need to guard with synchronized to ensure the value won't be changed during accessing. - Also make getVpnLockdownUidRanges() to be a package-private method. It's accessed from PermissionMonitorTest only. Bug: 232048835 Test: FrameworksNetTests CtsNetTestCases Change-Id: I850f155a01c309f9d75f5143dc0a46a1505415bd