commit | e7302dd7b083a63ff830f53ecd727df581206ed1 | [log] [tgz] |
---|---|---|
author | Behnam Heydarshahi <bhnm@google.com> | Tue May 21 20:58:15 2024 +0000 |
committer | Behnam Heydarshahi <bhnm@google.com> | Thu May 23 19:44:59 2024 +0000 |
tree | 1696373466c30bf1c1d2dfa7b5c99f08f5243188 | |
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