Skip to content
Commit 2ec7b90b authored by Matt Casey's avatar Matt Casey
Browse files

Long screenshot fixes for apps that return less than the requested rect

- Use pixel height instead of tile count to determine ideal long screenshot height.
- After adding each tile, go back and see if there are gaps in the tile
  set, if so then try to fill in the gap before continuing walking up or
  down.
- Set max tiles to a constant as it's for system safety and not a
  completion criteria in the common cases.
- Remove ImageTileSet's unused OnBoundsChangedListener (definition got
  more complicated now that we're dealing with gaps).

Test: atest ScrollCaptureControllerTest
Test: atest FakeSessionTest
Bug: 189475409

Change-Id: I0cfc9519e7fa444d662ac41e0bef4fced785a98e
parent 2a7139a3
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