Fix ExtendedEditText not handling touch correctly
b/31555902
Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9
diff --git a/src/com/android/launcher3/ExtendedEditText.java b/src/com/android/launcher3/ExtendedEditText.java
index f7737f4..0caab09 100644
--- a/src/com/android/launcher3/ExtendedEditText.java
+++ b/src/com/android/launcher3/ExtendedEditText.java
@@ -40,11 +40,13 @@
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) {