Skip to content

ADFA-4553 (slice 2b): remove the tunnel/SOCKS layout, strings and colors#138

Merged
luisguzman-adfa merged 1 commit into
mainfrom
feat/ADFA-4553-remove-tunnel-resources
Jul 4, 2026
Merged

ADFA-4553 (slice 2b): remove the tunnel/SOCKS layout, strings and colors#138
luisguzman-adfa merged 1 commit into
mainfrom
feat/ADFA-4553-remove-tunnel-resources

Conversation

@luisguzman-adfa

@luisguzman-adfa luisguzman-adfa commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

What

Final slice. The Java that referenced these resources was removed in slice 2 (#137), so this is an atomic resource-only removal — the layout views and the strings/colors they referenced go together, keeping the build consistent.

  • fragment_usage.xml: removed the Control button, control_description, the dash_tunnel dashboard tile (with led_tunnel + the "tunnel" label), and the SOCKS fields (socks_addr/socks_port in config, socks_udp_addr/socks_user/socks_pass in advanced). All were visibility="gone".
  • values*/strings.xml (6 locales): removed control_enable, control_disable, vpn_description, vpn_starting, vpn_stopping, tunnel, socks_addr, socks_port, socks_udp_addr, socks_user, socks_pass.
  • values/colors.xml: removed btn_vpn_on/btn_vpn_off/btn_vpn_on_dim/btn_vpn_off_dim.

Behaviour

No visible/behaviour change — every removed view was already hidden.

Verification (sandbox)

  • All edited XML parses well-formed (layout + 6 strings files + colors).
  • Repo-wide (res + java): no remaining reference to any removed id/string/color (btn_vpn*, @string/tunnel, control_enable/disable, vpn_*, socks_*, dash_tunnel, led_tunnel, R.id.control).
  • lint-baseline.xml still has ~18 stale vpn/socks entries — a filter, not a gate (unmatched baseline entries are ignored), so they don't fail the build. Can be regenerated in a routine baseline refresh.
  • Please build :app:lintDebug + assembleDebug.

Test (device)

  1. Build passes; app installs.
  2. Home screen unchanged (Control button, tunnel tile and SOCKS settings were already hidden). Wi-Fi/Hotspot tiles + LEDs, "Browse content", and Start/Stop server all behave as before.

Closes ADFA-4553

With slices 1 + 2 + 2b, the legacy SOCKS-proxy / "tunnel" / VPN mechanism is fully gone; the app serves content exclusively from the native local server.

Final slice. The Java that referenced these was removed in slice 2, so this is
an atomic resource-only removal (layout + its string/color references together).

- fragment_usage.xml: removed the Control button, control_description, the
  dash_tunnel dashboard tile (+ led_tunnel + tunnel label), and the SOCKS fields
  (addr/port in config, udp_addr/user/pass in advanced). All were visibility=gone.
- values*/strings.xml (6 locales): removed control_enable, control_disable,
  vpn_description, vpn_starting, vpn_stopping, tunnel, socks_addr, socks_port,
  socks_udp_addr, socks_user, socks_pass.
- values/colors.xml: removed btn_vpn_on/off/on_dim/off_dim.

No visible/behaviour change (all removed views were already hidden). XML verified
well-formed; no remaining reference to any removed id/string/color across res + java.
lint-baseline.xml still has stale 'vpn/socks' entries (a filter, not a gate) — can
be regenerated separately.
@luisguzman-adfa luisguzman-adfa merged commit e07b6aa into main Jul 4, 2026
1 check passed
@luisguzman-adfa luisguzman-adfa deleted the feat/ADFA-4553-remove-tunnel-resources branch July 4, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant