commit | e91aa0fa64db892194ba82ec7d41df6fb9185471 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue Sep 18 15:37:24 2012 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Sep 18 15:37:24 2012 -0700 |
tree | d0cb8327ab5939248e369a4d7c34b5b8165b351e | |
parent | a4b0e5590dc303df68256254f732ef632e6912f3 [diff] |
Compute GradientDrawable's opacity correctly The current implementation of GradientDrawable always assumes the shape needs to be blended. This causes all windows to be considered translucent by default. This change recomputes the opacity as needed to ensure windows are marked opaque when they should. Change-Id: Iaf291d889a6c5122ab00c9f5781df3e7f61547fa