summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ExtendedEditText.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/ExtendedEditText.java')
-rw-r--r--src/com/android/launcher3/ExtendedEditText.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/launcher3/ExtendedEditText.java b/src/com/android/launcher3/ExtendedEditText.java
index f7737f423..c06f727a5 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) {
@@ -95,6 +97,6 @@ public class ExtendedEditText extends EditText {
private boolean showSoftInput() {
return requestFocus() &&
((InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE))
- .showSoftInput(this, InputMethodManager.SHOW_FORCED);
+ .showSoftInput(this, InputMethodManager.SHOW_IMPLICIT);
}
}