wireguard-android/app
Revath S Kumar e9e4fd4e8b TunnelList: Get focus to toggle button via remote for Fire TV
This removes a no-longer-needed workaround for the ListView
OnItemClickListener (it won't fire if a focusable view is inside the
item view). Since converting our ListView instances to RecyclerView
instances, we set the OnClick and OnLongClick listeners directly on the
item view, and this workaround no longer has any effect.

Unsurprisingly, the workaround breaks focusability of the Switch, which
is necessary to toggle tunnels on devices with keypad-based navigation,
such as the Fire TV.

This commit also adds explicit focusability hints for the Switch.

Related mail thread:
https://lists.zx2c4.com/pipermail/wireguard/2019-May/004112.html

Reported-by: Christophe-Marie Duquesne <chmd@chmd.fr>
Reported-by: Revath S Kumar <gmail@revathskumar.com>
[Samuel: sorted attributes; expanded commit message]
Signed-off-by: Samuel Holland <samuel@sholland.org>
2019-06-05 21:07:50 +02:00
..
src TunnelList: Get focus to toggle button via remote for Fire TV 2019-06-05 21:07:50 +02:00
tools libwg-go: bump 2019-06-05 21:07:50 +02:00
build.gradle Version bump 2019-03-19 00:56:13 -06:00
nonnull.gradle Update copyright 2019-01-07 19:21:34 -05:00
proguard-rules.pro Enable proguard and wire up rules 2018-12-18 22:18:00 +05:30