summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2025-01-06 23:59:43 -0800
committer Yurii Zubrytskyi <zyy@google.com> 2025-01-06 23:59:43 -0800
commitf3ce602824c8c2aad438d5db9514b7c9f72074a9 (patch)
tree9cf9149fe70ce9ad41944d2f876330a9a6dac23d /libs/androidfw/misc.cpp
parent556a10be25418bed6236aac795445ccf6d6d1425 (diff)
[res] Make IdmapDaemon more robust
- Try to protect against the system shutdown when starting/stopping a service is impossible - Fix the refcount for the service member in corner cases - Don't access uninitialized connection object if its creation fails in the FRRO list function - Get rid of the unneeded atomic int as it's always accessed under a lock - Rename the start/stop service methods to explicitly point they're only called under a lock Overall this makes the deadlocks much less probable, but not gets rid of them completely Fixes: 362083145 Fixes: 385464198 Test: build + boot Flag: EXEMPT bugfix Change-Id: Ib26f7317aec4dbb90616b630999e70ddcc5b884c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions