From 0d9198820ec181180792cef517e065e2da65afd1 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Mon, 3 Mar 2014 14:16:58 +0000 Subject: [PATCH] Bug 971214 - Use setBackgroundDrawable() in BasicColorPicker (r=wesj) --- mobile/android/base/widget/BasicColorPicker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/base/widget/BasicColorPicker.java b/mobile/android/base/widget/BasicColorPicker.java index cefd5642497..cdc7d0c9cd1 100644 --- a/mobile/android/base/widget/BasicColorPicker.java +++ b/mobile/android/base/widget/BasicColorPicker.java @@ -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);