diff options
author | 2025-02-14 06:10:49 -0800 | |
---|---|---|
committer | 2025-02-14 06:15:36 -0800 | |
commit | 75e13c9116165c7f83cb042dc1ba0d5693f294b6 (patch) | |
tree | 5c72d0fdcfd008f2a865ffb6bff21b4fea41d2d1 /api/coverage/tools | |
parent | f66ccbb07b7c65b72671d6d43c9174298223c817 (diff) |
Refactor the VDM locks
Basically never call outside the class while holding a lock
VirtualDeviceManagerService:
- utilize the virtual device snapshot in more places
VirtualDeviceImpl:
- use a separate lock for mIntentInterceptors - holding mVirtualDeviceLock is actually completely unnecessary there
- use a separate lock for PowerManager and related fields to avoid a deadlock (PowerGroup's constructor actually calls VDM)
- This allows to call PowerManager without mVirtualDeviceLock
Change-Id: I8ba16564053779e5cbe46bb89658fe55ab28777a
Fix: 394534258
Test: presubmit
Flag: EXEMPT bugfix
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions