Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 43b109b5 authored by Sandro Meier's avatar Sandro Meier
Browse files

Add correct synchronization to VDMServiceTest.java

Many test cases in VirtualDeviceManagerServiceTest directly put elements
in mInputController.mInputDeviceDescriptors without acquiring the lock
of mInputController. In the context of the current test cases this is not
a problem (no parallel access occurs). However, the presubmit lint flags
this on new tests added. Therefore this commit adds synchronization to
all existing accesses.

Test: atest FrameworksServicesTests:VirtualDeviceManagerServiceTest
Bug: 244516415
Change-Id: Ib6b974e1aa672a6d7cd8152be8889a5107038a99
parent b03a7b7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment