summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorStevie Kideckel <kideckel@google.com>2021-06-07 14:46:52 +0000
committerStevie Kideckel <kideckel@google.com>2021-06-07 14:46:52 +0000
commitbfbe46198cb2f718862fa870509ec7f16f8f6c46 (patch)
tree40829e3f92593b040df236a7d3dfb71a14d8c5a5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentebcaa39d6b87e25e2f87319943186ea006405af5 (diff)
Fix handling for onItemClick of fixed collection items
The onItemClick handling code assumed that the item would be nested at least one layer deep due to the RemoteViewsAdapter adding a wrapper view group. Rather than add another case to that logic, I've refactored this to traverse the view's children looking for a view with the tag. As the tag is internal, there should only ever be one child with it and we'll always want that one to handle the click. Fix: 190353630 Test: locally Test: atest RemoteViewsFixedCollectionAdapterTest Change-Id: I22057f148d33482ad84fff592b9f7f554fa2bfad
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions