diff options
author | Romain Guy <romainguy@google.com> | 2011-03-29 18:31:08 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-03-29 18:31:08 -0700 |
commit | 2660a3ec8564918a243b1b02e3652c514bc93bfc (patch) | |
tree | 24bb16d9549b0c9a2997b0573c41c13875126b4c /tests/BiDiTests/res/layout | |
parent | 60355780eaa7d80a76a5481ab033606bcfb630fd (diff) | |
download | frameworks_base-2660a3ec8564918a243b1b02e3652c514bc93bfc.zip frameworks_base-2660a3ec8564918a243b1b02e3652c514bc93bfc.tar.gz frameworks_base-2660a3ec8564918a243b1b02e3652c514bc93bfc.tar.bz2 |
Move the drawable state to the correct class.
Bug #4170455
The state tracking whether the Paint's shader should be rebuilt was kept in the
wrong class. This lead to the Drawable keeping track of the dirty status of the
Paint stored in the ConstantState. This of course does not work properly when
several drawables are inflated form the same ConstantState. This change fixes
the issue by moving the dirty Paint state to the ConstantState class. This is
allowed to work because of the single-thread rule enforced by the UI toolkit.
Change-Id: I9bb31d8e7335d6bb418470b59ae25d9085d7bd23
Diffstat (limited to 'tests/BiDiTests/res/layout')
0 files changed, 0 insertions, 0 deletions