OSDN Git Service

Postpone creating new drawables for DrawableContainerState.
authorAlan Viverette <alanv@google.com>
Thu, 13 Jun 2013 22:11:16 +0000 (15:11 -0700)
committerAlan Viverette <alanv@google.com>
Thu, 13 Jun 2013 22:11:16 +0000 (15:11 -0700)
commitf390f770ee570f1f4def41b165cb9492e381be40
tree10d548040dda6512ca10f93caa0e163cb944a61b
parenta6954f7e12b673f8b9cb29549c3136be6e64e693
Postpone creating new drawables for DrawableContainerState.

When creating a DrawableContainerState from a constant state, calls to
ConstantState.newDrawable() are postponed and made as they are needed.

Bug: 9280861
Change-Id: I03c93a43ee00aca3ff618d66d7f507f1722538d1
graphics/java/android/graphics/drawable/DrawableContainer.java
graphics/java/android/graphics/drawable/StateListDrawable.java