diff options
| author | 2024-04-23 21:56:32 -0400 | |
|---|---|---|
| committer | 2024-04-25 14:28:17 -0400 | |
| commit | bdc8c26657eb1b40aa806e09726256473dfdb40f (patch) | |
| tree | f67cd05cf653aa530100920f836b292c05da3c8c /libs/androidfw/StringPool.cpp | |
| parent | 77ee346d8247624a881dc9b5d158a7692022b5bd (diff) | |
Icon: don't create Drawables with null Bitmaps
When an app passes an invalid icon into a BigPictureStyle notification,
we want to know clearly and promptly, but to log when these icon loads
fail, we need to return null instead of wrapping a null Bitmap in a
BitmapDrawable.
Bug: 335878768
Flag: ACONFIG com.android.graphics.flags.icon_load_drawable_return_null_when_uri_decode_fails START
Test: manual
Change-Id: I460ce2c8cc1353eba3e038092d4913b75675f4fb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions