diff options
| author | 2024-05-21 20:58:15 +0000 | |
|---|---|---|
| committer | 2024-05-23 19:44:59 +0000 | |
| commit | e7302dd7b083a63ff830f53ecd727df581206ed1 (patch) | |
| tree | 1696373466c30bf1c1d2dfa7b5c99f08f5243188 /libs/androidfw/AssetManager2.cpp | |
| parent | 0744546e62e655167f20b0d1d814d298c4b1c87d (diff) | |
QSTileViewModelAdapter support DrawableIconWithRes
For some tiles, we want to have Loaded icons, but still keep a
reference to the resource ID. A usecase of DrawableIconWithRes is in
LauncherTileService were we would rather load the icon as a
ResourceIcon so that we would not have to worry about the state of
the drawable if it is an AnimatedDrawable.
Flag: com.android.systemui.qs_new_tiles
Bug: 341786927
Test: atest AllAppsSearchQsTileImageTest QSTileViewModelImplTest
Change-Id: I970524e45d1becaee7be4b4f320f642021185239
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions