mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 971214 - Use setBackgroundDrawable() in BasicColorPicker (r=wesj)
This commit is contained in:
parent
bfc61b1fc7
commit
2adbcb4eb5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user