summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-11-27 10:57:16 +0900
committerHugo Benichi <hugobenichi@google.com>2017-12-13 09:54:38 +0900
commit6974434ef61b249ebdca2797ffab742aa1238585 (patch)
treef00e4ec38de0f616443b931e195b8436d1f6a84d /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf5bec0d781499a3bde7aa54f2072019ce2709e70 (diff)
ConnectivityService: synchronize access on mLockdownEnabled
The mLockdownEnabled boolean and the mLockdownTracker objects are read and mutated in many places involving vpn logic inside of ConnectivityService. This includes codepaths run on the ConnectivityService handler and codepaths run on Binder calls from IConnectivityManager.aidl, however the access to these variables are not synchronized. This patch adds proper synchronization to mLockdownEnabled and mLockdownTracker by moving access to them into the mVpns lock used for all of vpn logic. Bug: 18331877 Test: runtest frameworks-net Change-Id: I4abde43b1036861f4486dd2b5567782d10204bd6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions