Skip to content
Commit 91d6a553 authored by Evan Rosky's avatar Evan Rosky
Browse files

Fix ScrollView coretest

Due to another bug, adding new focusables dynamically does NOT
emit focusableViewAvailable. This caused the ScrollView to stay
focused despite having focusable children.
This caused one of the FOCUS_DOWN operations to be dedicated
towards sending focus from the scrollview itself. This change
sends focus to the first button before initiating all the DOWN
presses.

The change that caused this regression was allowing initial
focus to go to a zero-sized view (scrollview). This is NOT our
eventual desired behavior; however, since we allow zero-sized
views to be focusable, it didn't make sense to restrict it for
this one case.

Bug: 64096278
Test: testArrowScrollDownToBottomElementOnScreen
Change-Id: I8d6cc68a71bae630c02947aaf4dda15c27087422
parent 1d0667b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment