commit | bceef6f4230a307f0c075f4742018e97499eab42 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Tue Sep 22 20:52:27 2020 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Thu Sep 24 07:13:48 2020 +0000 |
tree | a26b71bf8331cb8916f678c202a1fd660022d5da | |
parent | ce872e989820247be3488d12624bd9ebaa2b08c3 [diff] |
Add synchronized to make sure data correctness Both mNetworkAgent and mConfig are mutable, add synchronized to make sure the data correctness of those two vars when getNetId() and getVpnConfig() are called. Bug: 168576152 Test: atest FrameworkNetTests atest CtsHostsideNetworkTests:HostsideVpnTests Change-Id: I4133de84c904009b5fbf4208853773fc79fdd17f