diff options
| author | 2022-08-02 03:48:35 +0800 | |
|---|---|---|
| committer | 2022-08-02 02:24:18 +0000 | |
| commit | 7146e2cb02578d4249d4519d442918c8da7f6178 (patch) | |
| tree | 0d363f3330c44f280f7b816a69efb5023f38843f /libs/androidfw/StringPool.cpp | |
| parent | 6e1ac19115f788110d929e3c4c40951da2428bc3 (diff) | |
Tidy up VPN code
This commit addressed the comments in different commits, it did
- Make isVpnApp() to be a static method.
- Rename getRedactedNetworkCapabilitiesOfUnderlyingNetwork to
getRedactedNetworkCapabilities and rename
getRedactedLinkPropertiesOfUnderlyingNetwork to
getRedactedLinkProperties.
- Reduce the scope of synchronized block in handleSessionLost().
- Fast return when there is an IllegalArgumentException in
handleSessionLost().
- Remove inaccurate comment.
- Update the document of mCurrentToken.
- Define an initial token value of IKE session.
- Add "/* exeception */" annotation to handleSessionLost(null)
calls.
Bug: 236409954
Test: atest FrameworksNetTests:VpnTest
Change-Id: I8c938f8796345dc2eee6c8eff513b0f993bc8165
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions