Skip to content
Commit f8ce665d authored by Benedict Wong's avatar Benedict Wong
Browse files

Prevent concurrent modification exceptions in VcnManagementService

In order to prevent concurrent modifications from triggering an
exception in the dump, proxy it to the handler thread.

Adding locks was considered, but would require auditing all callbacks
and proxying them to the handler threads in order to ensure lock
inversion and deadlocks never occur.

Bug: 188840899
Test: FrameworksVcnTests
Test: adb shell dumpsys vcn_management
Change-Id: Ibcc4bdc06301dd77260adaa0c086529f8f524679
parent 3952307a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment