commit | 344519f55fb5de26b6d136be5a45f4051bf88ab2 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Mon Feb 22 16:47:35 2021 -0500 |
committer | Fabian Kozynski <kozynski@google.com> | Mon Feb 22 16:56:54 2021 -0500 |
tree | b069e0f729306d498de222d6a5c2fe299ec38512 | |
parent | ef1fdf1849aeb510be8d40f252629380c457a0a9 [diff] |
Fix defined DrawableWrappers with proper ConstantState DrawableWrappers extend from InsetDrawable instead, so a proper internal state is created. This way, we can use the proper drawable attribute and delegate most of the work to DrawableWrapper correctly. Also, create ConstantState that are able to create new instances of the correct drawables. Fixes: 179928515 Fixes: 175026098 Test: manual Change-Id: I8d07fd518ad66e6c456f7a1a6aa31fbaa18ba8aa