summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-03-28 13:09:28 -0700
committerYorke Lee <yorkelee@google.com>2014-04-07 14:49:29 -0700
commit13a54c7689f18363c873e966a9e4e9d76ed3ffa7 (patch)
tree9e591d4f91f0768370606a9cec4849d1521d91b2
parentea8fa952d9024a136a401b5c1cf6a546c870d81f (diff)
Remove dead code
Change-Id: I6a48467f047d8e845d484fccb751d3a5de52066c
-rw-r--r--src/com/android/dialer/DialtactsActivity.java11
-rw-r--r--src/com/android/dialer/dialpad/DialpadFragment.java14
2 files changed, 0 insertions, 25 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index cc45a988e..f438570b2 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -123,8 +123,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
private static final int ANIMATION_DURATION = 200;
- private String mFilterText;
-
/**
* The main fragment displaying the user's favorites and frequent contacts
*/
@@ -749,7 +747,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
public void onNewIntent(Intent newIntent) {
setIntent(newIntent);
displayFragment(newIntent);
- final String action = newIntent.getAction();
invalidateOptionsMenu();
}
@@ -794,14 +791,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
}
};
- private void showInputMethod(View view) {
- final InputMethodManager imm = (InputMethodManager) getSystemService(
- Context.INPUT_METHOD_SERVICE);
- if (imm != null) {
- imm.showSoftInput(view, 0);
- }
- }
-
private void hideInputMethod(View view) {
final InputMethodManager imm = (InputMethodManager) getSystemService(
Context.INPUT_METHOD_SERVICE);
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