From c60103d277b6656729b8f8c3f7168da31c7bffa7 Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Fri, 20 Sep 2013 17:46:37 -0700 Subject: Adds hardware keyboard support for DTMF Bug: 10808399 Change-Id: Id12acee7baf11335916a38c50a266f83f578e0bd --- .../src/com/android/incallui/DialpadFragment.java | 226 +++++++++++++++++++++ .../src/com/android/incallui/InCallActivity.java | 41 +++- 2 files changed, 266 insertions(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/DialpadFragment.java b/InCallUI/src/com/android/incallui/DialpadFragment.java index 428750dbf..5087561e6 100644 --- a/InCallUI/src/com/android/incallui/DialpadFragment.java +++ b/InCallUI/src/com/android/incallui/DialpadFragment.java @@ -18,6 +18,8 @@ package com.android.incallui; import android.content.Context; import android.os.Bundle; +import android.text.Editable; +import android.text.method.DialerKeyListener; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.MotionEvent; @@ -58,6 +60,198 @@ public class DialpadFragment extends BaseFragment