diff --git a/src/com/android/contacts/drawer/DrawerAdapter.java b/src/com/android/contacts/drawer/DrawerAdapter.java index b62054be6237261b4b9883eeabd1622a90e429ac..7210d13a2e35361400acd712ceba66da81f13663 100644 --- a/src/com/android/contacts/drawer/DrawerAdapter.java +++ b/src/com/android/contacts/drawer/DrawerAdapter.java @@ -269,7 +269,7 @@ public class DrawerAdapter extends BaseAdapter { titleView.setText(item.text); final ImageView iconView = (ImageView) result.findViewById(R.id.icon); iconView.setImageResource(item.icon); - iconView.setColorFilter(ACCENT_COLOR, android.graphics.PorterDuff.Mode.MULTIPLY); + iconView.setColorFilter(ACCENT_COLOR, android.graphics.PorterDuff.Mode.MULTIPLY); final TextView newBadge = (TextView) result.findViewById(R.id.assistant_new_badge); final boolean showWelcomeBadge = !SharedPreferenceUtil.isWelcomeCardDismissed(mActivity); newBadge.setVisibility(item.contactsView == ContactsView.ASSISTANT && showWelcomeBadge @@ -409,7 +409,7 @@ public class DrawerAdapter extends BaseAdapter { ? TYPEFACE_STYLE_ACTIVATE : TYPEFACE_STYLE_INACTIVE); if (activated) { - imageView.setColorFilter(mActivity.getResources().getColor(ACCENT_COLOR), + imageView.setColorFilter(ACCENT_COLOR, PorterDuff.Mode.SRC_ATOP); textView.setTextColor(ACCENT_COLOR); } else {