summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Horvath <robhor@google.com>2019-04-02 19:05:26 +0200
committerRobert Horvath <robhor@google.com>2019-04-11 16:22:31 +0200
commitb96ca99b49e7fc7cbdbe7e98b376959173cc51b8 (patch)
treef3dd0011116f2a17bb60221a5afa45cf84582e7d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2adc431b31b23f9d97958b3a0437a4ef4d20c142 (diff)
Focus content or button on AlertController
Requests focus for the content view, or if the content does not accept focus, a button on an alert dialog if not in touch mode. Before, the ScrollView containing the buttons received focus, and the user had to navigate to a button before being able to click it. Tries to focus the first available button in the order of positive button, negative button, neutral button. Test: Manual test on Android TV: - Suspend YouTube package using `adb shell pm suspend com.google.android.youtube.tv` - Try starting the YouTube app, observe focus on alert dialog - Also tested with AlertDialogs with custom views, list view Bug: 129467676 Change-Id: I69f39d0ade5a8b275f865ef1a76984407413c282
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions