summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2017-07-27 10:22:15 -0700
committerEvan Rosky <erosky@google.com>2017-07-27 10:49:39 -0700
commit91d6a55367754bea602ab176ab251aadcf882001 (patch)
tree8246b2b918b96d6c285f68507d852c127d942e93 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1d0667b89904fa471e142abc78b4222587b0f4e4 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions