summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2019-05-23 07:21:36 -0400
committerMatt Pietal <mpietal@google.com>2019-05-28 12:54:25 -0400
commite7cacab797108cd75e8fd16ac59d9d48e6f2d200 (patch)
treebbb059dfe8873f9fb7a527019c2412aa60949bbd /startop/scripts/lib/cmd_utils.py
parent358c2b33f361bfc8350cc8697608bea352c10e9f (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
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions