diff options
author | 2024-11-13 09:48:56 +0100 | |
---|---|---|
committer | 2025-02-17 09:48:49 -0800 | |
commit | 8eee2588504f96a8be2953005897d2d3ae7573b5 (patch) | |
tree | a95570342070cae3af92b662a7d6f3ac0b623ae1 /libs/androidfw/Asset.cpp | |
parent | adf6d6354480097b19598a50eb898b3c73633e6e (diff) |
Catch all exceptions when loading images
There are cases where we can get non-IO exceptions while loading Images - this happens for example when using Uris and the ContentProvider in the target process throws an exception. That exception gets propagated to us and we need to handle it like any other failure of image loading.
Bug: 374850924
Test: atest ImageLoaderTest ImageLoaderContentProviderTest
Flag: EXEMPT stability bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:94d4952afb5c657a8c6496d322ca13345ce3529b)
Merged-In: Ibbcb24184be844b8549974a62496d16db15fadee
Change-Id: Ibbcb24184be844b8549974a62496d16db15fadee
Diffstat (limited to 'libs/androidfw/Asset.cpp')
0 files changed, 0 insertions, 0 deletions