diff options
| author | 2022-07-25 16:31:05 -0700 | |
|---|---|---|
| committer | 2022-07-28 16:08:03 -0700 | |
| commit | 0fd2afe0849fe30a9dd08d223c3d7f8508a9e078 (patch) | |
| tree | 5f21c43f55997c58dabbf9fb1896e2d8a6793ae6 /libs/androidfw/StringPool.cpp | |
| parent | d4384a5ff2c9621e2f89f20454c71914f88677d0 (diff) | |
Prevent deadlock in binderDied in validation layer
In binderDied, we hold the validation layer lock as we call unloadModel,
which blocks on callbacks, violating our lock ordering.
As a temporary fix, cache the currently loaded models, and unload them.
Bug: 237602275
Test: Compiles
Change-Id: I5091cb152765ea1f78958108a331d75951b8b717
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions