diff options
author | Rubin Xu <rubinxu@google.com> | 2017-09-11 15:21:10 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2017-09-12 13:39:09 +0100 |
commit | 1505d705ef44aa46c2c7bd51822a00c5bc29ea67 (patch) | |
tree | 1de9d62d956a2ae32a4906ec3ef2791e63eef4d4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d9ad8cbb0ca34ddefeb849cc10f36b53c4a29c51 (diff) |
Patch incoming LinkProperties before it's visible to the outside
Otherwise we risk a race condition when we are fixing the LinkProperties
routes, other parts of ConnectivityService is reading the field at the
same time.
Test: runtest frameworks-net -c com.android.server.ConnectivityServiceTest
Test: runtest frameworks-core -c android.net.LinkPropertiesTest
Bug: 65529483
Bug: 35995111
(cherry picked from commit 6c1f6fd78927514df73ddace81edac4899c4cda4)
Change-Id: I539578703570a901e0a5dff0155422ca78c52401
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions