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

This commit is contained in:
Lucas Rocha 2014-03-03 14:16:58 +00:00
parent bfc61b1fc7
commit 2adbcb4eb5

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);