mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 22:18:30 +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);
|
handleAction(Policy.ALLOW);
|
||||||
timer.cancel();
|
timer.cancel();
|
||||||
});
|
});
|
||||||
|
grant_btn.requestFocus();
|
||||||
deny_btn.setOnClickListener(v -> {
|
deny_btn.setOnClickListener(v -> {
|
||||||
handleAction(Policy.DENY);
|
handleAction(Policy.DENY);
|
||||||
timer.cancel();
|
timer.cancel();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user