Fix issue with DrawableCompat.wrap() + mutation

The following is workaround for issues for certain
DrawableContainers on some API levels. They expect
getConstantState() to always return non-null, which
will only happen after our wrapper has been mutated.

Since most Drawables provided to wrap() will be from
Resources, they will nearly always have been mutated.
Therefore the wrapper should act as it has been too,
and return a constant state.

BUG: 27353857
Change-Id: Ib244f8f26f2e09979885d1fe2b84f0ec55cf2f02
5 files changed