Commit 760e01bf authored by Matthias Sweertvaegher's avatar Matthias Sweertvaegher Committed by John Wu

request focus for grant button to enable dpad nav

if no buttons have focus, it is impossible to use
on android tv without hooking up a mouse
parent 543f435b
......@@ -131,6 +131,7 @@ public class RequestActivity extends Activity {
handleAction(Policy.ALLOW);
timer.cancel();
});
grant_btn.requestFocus();
deny_btn.setOnClickListener(v -> {
handleAction(Policy.DENY);
timer.cancel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment