Skip to content
Commit 344519f5 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent ef1fdf18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment