commit | 83b2107c4d2f07f46b6ae663115421749486f8b1 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@android.com> | Tue May 12 10:54:51 2009 -0700 |
committer | Romain Guy <romainguy@android.com> | Tue May 12 10:54:51 2009 -0700 |
tree | f7a5d08afc5933d98f5f70adc744184452e5d240 | |
parent | 08f3b5261fc31813e35cf04225ed8260f8a3bbe0 [diff] |
Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.