From 637e7d3f6fb3b23669bbfb79776d04b50d74758c Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 26 Nov 2013 14:35:45 -0800 Subject: Remove ContactPrefs from DialpadFragment DialpadFragment currently instantiates an instance of ContactsPrefs that is not needed. Change-Id: I8207f8d55c578a748c5edab1f722b18b5d38b48b --- src/com/android/dialer/dialpad/DialpadFragment.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 72214dc1c..335329846 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -187,8 +187,6 @@ public class DialpadFragment extends Fragment /** Stream type used to play the DTMF tones off call, and mapped to the volume control keys */ private static final int DIAL_TONE_STREAM_TYPE = AudioManager.STREAM_DTMF; - private ContactsPreferences mContactsPrefs; - private OnDialpadQueryChangedListener mDialpadQueryListener; /** @@ -349,7 +347,6 @@ public class DialpadFragment extends Fragment public void onCreate(Bundle state) { super.onCreate(state); mFirstLaunch = true; - mContactsPrefs = new ContactsPreferences(getActivity()); mCurrentCountryIso = GeoUtil.getCurrentCountryIso(getActivity()); try { -- cgit v1.2.3