Bug 971214 - Use setBackgroundDrawable() in BasicColorPicker (r=wesj)

This commit is contained in:
Lucas Rocha 2014-03-03 14:16:58 +00:00
parent 635ab0055a
commit 0d9198820e

View File

@ -122,7 +122,7 @@ public class BasicColorPicker extends ListView {
Drawable d = v.getBackground();
d.setColorFilter(getItem(position), PorterDuff.Mode.MULTIPLY);
v.setBackground(d);
v.setBackgroundDrawable(d);
Drawable check = null;
CheckedTextView checked = ((CheckedTextView) v);