summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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