diff options
author | 2025-03-24 12:46:31 +0000 | |
---|---|---|
committer | 2025-03-24 12:46:31 +0000 | |
commit | 09782e973223ebc1d3fecc14877a11fa3e66e51a (patch) | |
tree | 6007f8a3b6ef06087d3e1c3f9dc2dc325e6bd518 /libs/androidfw/AssetManager2.cpp | |
parent | f6d3e7a71bb25588ef953c2ee2f7f6b3ab3f99fc (diff) |
Wrap reparent in a try-catch.
Apparently checking for validity is not enough, as there can be a
race condition that results in the leash being released between the
check and the reparent call. Wrapping in a try-catch and logging the
error instead to avoid crashing.
Fix: 404507270
Flag: EXEMPT bugfix
Test: manual
Change-Id: Ie5b0787ff6cb0262b03e43224e5652173f71b401
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions