diff options
author | Yorke Lee <yorkelee@google.com> | 2015-02-20 16:19:52 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-20 16:19:53 +0000 |
commit | 0193f1f13a231824963bde5a7cf5d2f3c95c5456 (patch) | |
tree | 760328bc919f9865add88331620e62c76e159d9d | |
parent | a0c11ee3b8e2a92243b58f587c0398e1c58d2b0e (diff) | |
parent | b3873e0650854d4b0c48d31503ccb330454acd05 (diff) |
Merge "Remove unnecessary HoverIgnoringLinearLayout"
-rw-r--r-- | InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml | 8 | ||||
-rw-r--r-- | InCallUI/src/com/android/incallui/DialpadFragment.java | 24 |
2 files changed, 1 insertions, 31 deletions
diff --git a/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml b/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml index efd698286..b567dbbf2 100644 --- a/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml +++ b/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml @@ -20,11 +20,5 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> - - <view class="com.android.incallui.DialpadFragment$HoverIgnoringLinearLayout" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" > - <include layout="@layout/dialpad_view"/> - </view> + <include layout="@layout/dialpad_view"/> </view> diff --git a/InCallUI/src/com/android/incallui/DialpadFragment.java b/InCallUI/src/com/android/incallui/DialpadFragment.java index da3f0cb74..7c5b3584a 100644 --- a/InCallUI/src/com/android/incallui/DialpadFragment.java +++ b/InCallUI/src/com/android/incallui/DialpadFragment.java @@ -83,30 +83,6 @@ public class DialpadFragment extends BaseFragment<DialpadPresenter, DialpadPrese } } - /** - * LinearLayout that always returns true for onHoverEvent callbacks, to fix - * problems with accessibility due to the dialpad overlaying other fragments. - */ - public static class HoverIgnoringLinearLayout extends LinearLayout { - - public HoverIgnoringLinearLayout(Context context) { - super(context); - } - - public HoverIgnoringLinearLayout(Context context, AttributeSet attrs) { - super(context, attrs); - } - - public HoverIgnoringLinearLayout(Context context, AttributeSet attrs, int defStyle) { - super(context, attrs, defStyle); - } - - @Override - public boolean onHoverEvent(MotionEvent event) { - return true; - } - } - private EditText mDtmfDialerField; /** Hash Map to map a view id to a character*/ |