summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-09-20 21:50:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-20 21:50:26 +0000
commitc7be9c576e8c0fa0d3c332b35ca2212ddb602a84 (patch)
tree6095e43fabccc3ebc54301e88859e75bfb5434d7
parenta2757345fe946398f0ca5d505da994f05ab2aaa2 (diff)
parent3f9d647de6aa60aea81644c59ea967c4c89e757e (diff)
downloadandroid_packages_apps_Trebuchet-c7be9c576e8c0fa0d3c332b35ca2212ddb602a84.tar.gz
android_packages_apps_Trebuchet-c7be9c576e8c0fa0d3c332b35ca2212ddb602a84.tar.bz2
android_packages_apps_Trebuchet-c7be9c576e8c0fa0d3c332b35ca2212ddb602a84.zip
Fix ExtendedEditText not handling touch correctly b/31555902
am: 3f9d647de6 Change-Id: I8222f4f386f3322d167bce070070bf473685d789
-rw-r--r--src/com/android/launcher3/ExtendedEditText.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/launcher3/ExtendedEditText.java b/src/com/android/launcher3/ExtendedEditText.java
index f7737f423..0caab0911 100644
--- a/src/com/android/launcher3/ExtendedEditText.java
+++ b/src/com/android/launcher3/ExtendedEditText.java
@@ -40,11 +40,13 @@ public class ExtendedEditText extends EditText {
private OnBackKeyListener mBackKeyListener;
public ExtendedEditText(Context context) {
- this(context, null, 0);
+ // ctor chaining breaks the touch handling
+ super(context);
}
public ExtendedEditText(Context context, AttributeSet attrs) {
- this(context, attrs, 0);
+ // ctor chaining breaks the touch handling
+ super(context, attrs);
}
public ExtendedEditText(Context context, AttributeSet attrs, int defStyleAttr) {