summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Sandro Meier <sandromeier@google.com> 2022-10-05 16:06:29 +0000
committer Sandro Meier <sandromeier@google.com> 2022-10-19 16:31:59 +0000
commit43b109b5dbda0a71bdf35eef30a20fbea1a8c51f (patch)
tree189f70089617cce66864d0948e43753537039b24 /libs/androidfw/ResourceTimer.cpp
parentb03a7b7d075d10ffd21eab2960e03237cabbda32 (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions