summaryrefslogtreecommitdiffhomepage
path: root/app/proguard-rules.pro
diff options
context:
space:
mode:
authorRevath S Kumar <rsk@revathskumar.com>2019-05-19 14:10:48 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-05 21:07:50 +0200
commite9e4fd4e8b244748ca7052f0026fe4db43b46c8f (patch)
tree35fdca94a545b9dd409a7164e568f6c4ceec0ca4 /app/proguard-rules.pro
parentb5d9fbf1f43cc031d99f8654495f7aff7f80d381 (diff)
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>
Diffstat (limited to 'app/proguard-rules.pro')
0 files changed, 0 insertions, 0 deletions