Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 637e7d3f authored by Yorke Lee's avatar Yorke Lee
Browse files

Remove ContactPrefs from DialpadFragment

DialpadFragment currently instantiates an instance of ContactsPrefs
that is not needed.

Change-Id: I8207f8d55c578a748c5edab1f722b18b5d38b48b
parent 5c432033
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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 {