diff --git a/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/NestedGeckoView.kt b/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/NestedGeckoView.kt index 2b92a4e647b..5c7d966fa7b 100644 --- a/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/NestedGeckoView.kt +++ b/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/NestedGeckoView.kt @@ -119,13 +119,11 @@ open class NestedGeckoView(context: Context) : GeckoView(context), NestedScrolli @VisibleForTesting internal fun updateInputResult(event: MotionEvent) { - @Suppress("Deprecation") - // Deprecation to be replaced in https://github.com/mozilla-mobile/android-components/issues/9614 - super.onTouchEventForResult(event) + super.onTouchEventForDetailResult(event) .accept { // This should never be null. // Prefer to crash and investigate after rather than not knowing about problems with this. - inputResult = it!! + inputResult = it?.handledResult()!! startNestedScroll(ViewCompat.SCROLL_AXIS_VERTICAL) } }