diff options
| author | 2025-03-18 17:10:43 +0000 | |
|---|---|---|
| committer | 2025-03-18 17:21:28 +0000 | |
| commit | f0d6e1c56fc11c26c51d17c10e62ae27e5733731 (patch) | |
| tree | 9a0f8b35a8dd4c18e4aeefe34236ccffda8435e1 /libs/androidfw/StringPool.cpp | |
| parent | c0e04bd27ce7550e4e557477b51241ea76001b0a (diff) | |
Catch exceptions when comparing bundles.
We tried to catch ClassCastException in the past and log the key in
question so we could determine the root cause. It looks like in the end
this is likely a concurrent access issue where the InCallService is
trying to modify the bundle while Telecom is updating it. This is not
something that happens often. Rather than taking the performance hit of
copying the Bundle in the get, or sychronizing, we'll just catch and
assume the Bundles are not equal. Worst case we end up triggering an
extra Call.Callback#onDetailsChanged signal to the ICS.
Test: Run unit tests.
Flag: NONE Crash fix.
Fixes: 404168135
Change-Id: I5bc7a2170701fda364f6c4ca19d82a4c46745792
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions