diff options
author | Matt Casey <mrcasey@google.com> | 2021-06-08 10:47:05 -0400 |
---|---|---|
committer | Matt Casey <mrcasey@google.com> | 2021-06-08 16:54:17 -0400 |
commit | da72d6dae4633d476e7333480b3cb7ed764c7951 (patch) | |
tree | 58ff17c4919c056549732993594ab945072a2154 /libs/hwui/renderthread/VulkanManager.cpp | |
parent | 825d39e0f103e063d9ae53f647079f99cb19c852 (diff) |
Request scroll capture when the screen rotates.
Show/hide the scroll capture button based upon availability of
scrollable content in the underlying app.
Needed a little delay after rotation to allow the underlying app to
adjust to the new orientation (otherwise it was always not scrollable).
Bug: 185897865
Test: Take screenshot, observe capture more, rotate, tap capture more.
Test: Take screenshot of an activity that scrolls in portrait but not
landcape, rotate the phone and observe the capture more button
appearing and disappearing appropriately.
Change-Id: I0015adee77e576549509468486936c57ec62a2fd
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.cpp')
0 files changed, 0 insertions, 0 deletions