aac37265a3b376f479b6f87fb0847b80b903bb02
BACK's isFullscreen()/navigate-away logic ran entirely on the Android side, with no idea whether the website's Menu popup was open - so pressing Back while the popup was showing jumped straight to the room list (or reloaded) instead of closing it, since Android can't observe JS-side modal state. BACK now just relays a real Escape keypress into the page whenever we're on a page this app controls (room list or in-room), and lets the website's own keydown handler - which already knows about the popup, cinema mode, and (now) fullscreen state - decide what Escape should do. Removed the now-dead isFullscreen()/fullscreenView-reading code path (fullscreenView itself stays: WebChromeClient still needs onShowCustomView/onHideCustomView for HTML5 fullscreen to render). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHgWjmEJXsJEi1EVAoTp4K
Description
No description provided
1 MiB