diff options
author | lucaslin <lucaslin@google.com> | 2020-09-22 20:52:27 +0800 |
---|---|---|
committer | Lucas Lin <lucaslin@google.com> | 2020-09-24 07:13:48 +0000 |
commit | bceef6f4230a307f0c075f4742018e97499eab42 (patch) | |
tree | a26b71bf8331cb8916f678c202a1fd660022d5da /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions