commit | 23e5b918b008eaee0dce2b35b8d82629d4dff791 | [log] [tgz] |
---|---|---|
author | Luca Zuccarini <acul@google.com> | Fri Jan 26 17:17:50 2024 +0000 |
committer | Luca Zuccarini <acul@google.com> | Mon Jan 29 09:00:04 2024 +0000 |
tree | 4d26f554045ea7b763396c3dbb48178cc3405e66 | |
parent | 5e0cc0b9f0912f9b8bb06cf17fa623ced6c51075 [diff] |
Update the gradient search to go deeper down the tree of drawables. Before we only inspected the top level of drawables inside a LayerDrawable, which didn't work in case this was in turn one of the intermediate categories (in the related bug, an InsetsDrawable). This new approach allows us to continue going down the tree to find any GradientDrawable. Bug: 321654048 Flag: NA Test: see videos in the bug Change-Id: Icb6f4b001c66bd78c3eb8167cb163d4823e4258f