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

Skip to content
Commit 8fa358b8 authored by TYM Tsai's avatar TYM Tsai
Browse files

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
parent 8218dda7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment