diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-28 13:09:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-07 14:49:29 -0700 |
commit | 13a54c7689f18363c873e966a9e4e9d76ed3ffa7 (patch) | |
tree | 9e591d4f91f0768370606a9cec4849d1521d91b2 /src/com/android/dialer/dialpad/DialpadFragment.java | |
parent | ea8fa952d9024a136a401b5c1cf6a546c870d81f (diff) |
Remove dead code
Change-Id: I6a48467f047d8e845d484fccb751d3a5de52066c
Diffstat (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java')
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 36d5cf84b..defd65887 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -391,9 +391,6 @@ public class DialpadFragment extends Fragment vto.addOnPreDrawListener(preDrawListener); - // Load up the resources for the text field. - Resources r = getResources(); - mDigitsContainer = fragmentView.findViewById(R.id.digits_container); mDigits = (EditText) fragmentView.findViewById(R.id.digits); mDigits.setKeyListener(UnicodeDialerKeyListener.INSTANCE); @@ -442,11 +439,6 @@ public class DialpadFragment extends Fragment return fragmentView; } - @Override - public void onStart() { - super.onStart(); - } - private boolean isLayoutReady() { return mDigits != null; } @@ -1048,7 +1040,6 @@ public class DialpadFragment extends Fragment * the previous digit or cancel previously entered character. */ private void removePreviousDigitIfPossible() { - final Editable editable = mDigits.getText(); final int currentPosition = mDigits.getSelectionStart(); if (currentPosition > 0) { mDigits.setSelection(currentPosition); @@ -1166,11 +1157,6 @@ public class DialpadFragment extends Fragment mDigits.getText().clear(); } - private String getCallOrigin() { - return (getActivity() instanceof DialtactsActivity) ? - ((DialtactsActivity) getActivity()).getCallOrigin() : null; - } - private void handleDialButtonClickWithEmptyDigits() { if (phoneIsCdma() && phoneIsOffhook()) { // This is really CDMA specific. On GSM is it possible |