diff options
Diffstat (limited to 'src/com/android/dialer/filterednumber/BlockedNumbersFragment.java')
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockedNumbersFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java index 6b3f18a79..073aac2fb 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java +++ b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java @@ -63,8 +63,8 @@ public class BlockedNumbersFragment extends ListFragment ImageView addNumberIcon = (ImageView) getActivity().findViewById(R.id.add_number_icon); LetterTileDrawable drawable = new LetterTileDrawable(getResources()); drawable.setLetter(ADD_BLOCKED_NUMBER_ICON_LETTER); - drawable.setColor(getResources().getColor(R.color.add_blocked_number_icon_color, - getActivity().getTheme())); + drawable.setColor(ActivityCompat.getColor(getActivity(), + R.color.add_blocked_number_icon_color)); drawable.setIsCircular(true); addNumberIcon.setImageDrawable(drawable); |