summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-11 01:26:07 +0000
committerBenedict Wong <benedictwong@google.com>2020-03-11 17:28:22 +0000
commitbc7b339f732dced02621023117187954606a12cc (patch)
treedadeadedda39982380aa55ded52a5884bf210782 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6e2d2206d16539c88d6c2baa23b6fba641d39f1e (diff)
Remove lock inversion in LegacyVpnRunner
This commit prevents the lock inversion introduced in aosp/1218118 by reverting some of the calls to the cleanup code that ensures all outer class state is reset. At worst, the correctness of the outer class' state for the LegacyVpnRunner shutdown is the same as before aosp/1218118. This generally seems safe as: 1. This reverts it to a known state (non-ideal, but non-broken) 2. If the interfaces have already been created and registered with the event observer, the event observer will trigger a interfaceRemoved, which will both shutdown the LegacyVpnRunner, and cleanup the Vpn instance state. Bug: 151068107 Test: FrameworksNetTests passing Test: Repeated steps in bug, no deadlock Change-Id: I51a475f575252fb981641fc6240bb8c15576c5f2 Merged-In: I51a475f575252fb981641fc6240bb8c15576c5f2 (cherry picked from commit 50aaea7e8d6d40bcddee124f1efdd33da4da6fd6)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions