diff options
| author | 2024-12-03 16:25:13 +0800 | |
|---|---|---|
| committer | 2024-12-04 14:31:30 +0800 | |
| commit | 8fa358b84c9dcd94776a4923da341f4cb5a30d92 (patch) | |
| tree | beaf6db98223da8a031721d77968b8dbba25158f /api/api.go | |
| parent | 8218dda7770fd63674ad46664e45a96699194e93 (diff) | |
Make mCallbacks#broadcast() thread safe
onUserRemoved() may be called on a different thread than
doNotifyCallbacks(), so hold the lock on the handler thread.
Bug: 381844421
Flag: EXEMPT bugfix
Test: atest FrameworksMockingServicesTests:com.android.server.pm.PackageMonitorCallbackHelperTest
Change-Id: I6af219e6c270fde006b34be91f0413d4b8d88ebf
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions