Loading components/ui/autocomplete/src/main/java/mozilla/components/ui/autocomplete/InlineAutocompleteEditText.kt +8 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,14 @@ open class InlineAutocompleteEditText @JvmOverloads constructor( windowFocusChangeListener?.invoke(hasFocus) } override fun onTextContextMenuItem(id: Int): Boolean { var newId = id if (newId == android.R.id.paste && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { newId = android.R.id.pasteAsPlainText } return super.onTextContextMenuItem(newId) } @Suppress("ClickableViewAccessibility") override fun onTouchEvent(event: MotionEvent): Boolean { return if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M && Loading Loading
components/ui/autocomplete/src/main/java/mozilla/components/ui/autocomplete/InlineAutocompleteEditText.kt +8 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,14 @@ open class InlineAutocompleteEditText @JvmOverloads constructor( windowFocusChangeListener?.invoke(hasFocus) } override fun onTextContextMenuItem(id: Int): Boolean { var newId = id if (newId == android.R.id.paste && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { newId = android.R.id.pasteAsPlainText } return super.onTextContextMenuItem(newId) } @Suppress("ClickableViewAccessibility") override fun onTouchEvent(event: MotionEvent): Boolean { return if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M && Loading