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

Commit 06ca3f91 authored by Yorke Lee's avatar Yorke Lee Committed by Jay Shrauner
Browse files

Remove ContactPrefs from DialpadFragment

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

Change-Id: I8207f8d55c578a748c5edab1f722b18b5d38b48b
(cherry picked from commit 637e7d3f)
parent 876cb396
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -188,8 +188,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;

    /**
@@ -350,7 +348,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 {