summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2023-05-05 12:32:06 -0400
committer Mark Renouf <mrenouf@google.com> 2023-05-05 16:41:50 +0000
commit73f0b2af197ed925ea76efd0b2f009843189ba19 (patch)
tree07b005ed1f91949330365304f0892d6b481a75ce /libs/androidfw/StringPool.cpp
parent3a2bda18c40dd4701cc0f0487930af9053a41419 (diff)
scroll capture: Recover gracefully when anchor view is lost
When manipulating a RecyclerView, the position of a visible child view is used as a feedback signal for scroll tracking. If the view remains detached after scrolling, view operations fail and crash the application. Detect this condition and return an empty result. If the RecyclerView moved during this request, the remaining tiles will be offset by the same amount. This will manifest as a missing section of content. Logging has been added to identify and track this bug. Test: manual repro w/test app; see bug Bug: 239050369 Change-Id: I5a0a62aaad10ffa7838d7902fd9c5f4f84b52ce6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions