commit | e7cacab797108cd75e8fd16ac59d9d48e6f2d200 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Thu May 23 07:21:36 2019 -0400 |
committer | Matt Pietal <mpietal@google.com> | Tue May 28 12:54:25 2019 -0400 |
tree | bbb059dfe8873f9fb7a527019c2412aa60949bbd | |
parent | 358c2b33f361bfc8350cc8697608bea352c10e9f [diff] |
Sharesheet - Load images off main thread To prevent main thread from being blocked and potential ANRs, load images on AsyncTasks. If no images are successfully loaded within a timeout period, hide the content preview area. Optimize scrolling by reusing the views in their entirety and not reloading images. Also allow for more time for direct share loading Bug: 132698784 Test: Manual Change-Id: Ia73e9b6912bf36a1c6c9660423d6f0602e832187