Fix Menu popup, DPAD room-list navigation, and cleartext leftover
- Menu key: WebView refuses to forward Android "system" keycodes (KEYCODE_MENU among them) to page JS, confirmed via diagnostic logging (downConsumed=false even though the key reaches dispatchKeyEvent). Relay it as KEYCODE_X instead - room.js on the website side treats 'x' as an alias for the ContextMenu trigger. - DPAD center/up/down/media keys are now only remapped inside a room (shouldIntercept() gates on isRoomList()) - the room-list page uses plain ArrowUp/ArrowDown/Enter and never moved focus when those keys arrived pre-remapped as Space/P/N. - Removed a leftover cleartextTrafficPermitted="true" left over from local LAN debugging against a docker instance. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHgWjmEJXsJEi1EVAoTp4K
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<base-config>
|
||||
<base-config cleartextTrafficPermitted="false">
|
||||
<trust-anchors>
|
||||
<certificates src="system" />
|
||||
</trust-anchors>
|
||||
|
||||
Reference in New Issue
Block a user