diff options
| author | 2025-01-10 12:40:41 -0800 | |
|---|---|---|
| committer | 2025-01-10 12:40:41 -0800 | |
| commit | 4b428bea47a8c83bff35171e51d9881b58a2fadc (patch) | |
| tree | d75983560a1d1203a63dda3d2095da256088cae9 /libs/androidfw/StringPool.cpp | |
| parent | e302462c12cd01a3dcfe7dfd9770386861f735fb (diff) | |
Fix deadlock in binder death handling
CallbackRecord.binderDied() triggers a new thread that tries to lock
CallbackRecord.mCallbacks. Thus, binderDied() may not be called while
holding mCallbacks.
This change moves the exception handler for RemoteException
(indicating that the remote end has died) out of synchronization
blocks on mCallbacks.
Flag: com.android.server.am.defer_display_events_when_frozen
Bug: 388848221
Test: atest
* DisplayServiceTests
* CtsDisplayTestCases
Change-Id: Ib4a62ccc99725eb0c8f97ff2934fd19fc22417d3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions