From fce269a30e2ec112ea4c287d97e08ef7b3b31b89 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 12 Aug 2013 11:56:04 -0700 Subject: Clean up todos for dialer * Remove account filter header container * Remove frequent header position * Move dialer database updating to DialtactsActivity Change-Id: I8a6a092f25609537a47ffafb28aa4df9f55b1bd5 --- src/com/android/dialer/dialpad/DialpadFragment.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java') diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index fefbcc43c..82f537755 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -190,8 +190,6 @@ public class DialpadFragment extends Fragment private ListView mDialpadChooser; private DialpadChooserAdapter mDialpadChooserAdapter; - private DialerDatabaseHelper mDialerDatabaseHelper; - /** * Regular expression prohibiting manual phone call. Can be empty, which means "no rule". */ @@ -327,9 +325,6 @@ public class DialpadFragment extends Fragment mContactsPrefs = new ContactsPreferences(getActivity()); mCurrentCountryIso = GeoUtil.getCurrentCountryIso(getActivity()); - mDialerDatabaseHelper = DialerDatabaseHelper.getInstance(getActivity()); - SmartDialPrefix.initializeNanpSettings(getActivity()); - try { mHaptic.init(getActivity(), getResources().getBoolean(R.bool.config_enable_dialer_key_vibration)); @@ -674,10 +669,6 @@ public class DialpadFragment extends Fragment // Prevent unnecessary confusion. Reset the press count anyway. mDialpadPressCount = 0; - // Initialize smart dialing state. This has to be done before anything is filled in before - // the dialpad edittext to prevent entries from being loaded from a null cache. - initializeSmartDialingState(); - configureScreenFromIntent(getActivity()); stopWatch.lap("fdin"); @@ -1681,13 +1672,6 @@ public class DialpadFragment extends Fragment return intent; } - private void initializeSmartDialingState() { - // Handle smart dialing related state - // TODO krelease: This should probably be moved to somewhere more appropriate, maybe - // into DialtactsActivity - mDialerDatabaseHelper.startSmartDialUpdateThread(); - } - @Override public void onHiddenChanged(boolean hidden) { super.onHiddenChanged(hidden); -- cgit v1.2.3