diff --git a/apps/readest-app/src-tauri/gen/android/app/src/main/java/com/bilingify/readest/MainActivity.kt b/apps/readest-app/src-tauri/gen/android/app/src/main/java/com/bilingify/readest/MainActivity.kt index 63601f96..014e87e1 100644 --- a/apps/readest-app/src-tauri/gen/android/app/src/main/java/com/bilingify/readest/MainActivity.kt +++ b/apps/readest-app/src-tauri/gen/android/app/src/main/java/com/bilingify/readest/MainActivity.kt @@ -30,6 +30,11 @@ class MainActivity : TauriActivity(), KeyDownInterceptor { override fun onWebViewCreate(webView: WebView) { wv = webView + // Disable native long-click on the WebView to prevent the system image context menu. + // On Android 8.0 (Oreo), the native image context menu can freeze the entire touch system, + // requiring a forced reboot. Text selection still works as it's handled by WebView internally. + webView.isLongClickable = false + webView.setOnLongClickListener { true } } private val keyEventMap = mapOf(