mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 18:45:28 +00:00
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
This commit is contained in:
parent
543f435b1e
commit
760e01bf92
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user