Messaging: Fix warnings about drawables and colors
* They need the theme provided now * Follow the suggestion by AS (sometimes we use ResourcesCompat, sometimes not) Change-Id: Ie3023fee13a6fc04bd4b912721ba19dcc08befba
This commit is contained in:
@@ -76,7 +76,8 @@ public class ContactIconView extends AsyncImageView {
|
||||
mIconSize = 0;
|
||||
Assert.fail("Unsupported ContactIconView icon size attribute");
|
||||
}
|
||||
mColorPressedId = resources.getColor(R.color.contact_avatar_pressed_color);
|
||||
mColorPressedId = resources.getColor(R.color.contact_avatar_pressed_color,
|
||||
context.getTheme());
|
||||
|
||||
setImage(null);
|
||||
a.recycle();
|
||||
|
||||
Reference in New Issue
Block a user