From dad839d3ef89a8c58cb94eef7d282f34d86597b9 Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Mon, 20 Nov 2017 12:26:43 -0800 Subject: Dialpad icon now remains white through device rotation. Bug: 69463065 Test: manual PiperOrigin-RevId: 176399153 Change-Id: I699688ab47c1ba497a0b6bb3301380a8e06f2ee2 --- java/com/android/dialer/dialpadview/DialpadFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/com/android/dialer/dialpadview/DialpadFragment.java') diff --git a/java/com/android/dialer/dialpadview/DialpadFragment.java b/java/com/android/dialer/dialpadview/DialpadFragment.java index 8d11bcbe3..4126443bc 100644 --- a/java/com/android/dialer/dialpadview/DialpadFragment.java +++ b/java/com/android/dialer/dialpadview/DialpadFragment.java @@ -643,7 +643,7 @@ public class DialpadFragment extends Fragment iconId = R.drawable.ic_wifi_calling; } mFloatingActionButtonController.changeIcon( - iconId, res.getString(R.string.description_dial_button)); + getContext(), iconId, res.getString(R.string.description_dial_button)); mDialpadQueryListener = FragmentUtils.getParentUnsafe(this, OnDialpadQueryChangedListener.class); -- cgit v1.2.3