diff options
author | Hakan Seyalioglu <hseya@google.com> | 2016-12-07 16:38:57 -0800 |
---|---|---|
committer | Hakan Seyalioglu <hseya@google.com> | 2017-01-03 13:21:41 -0800 |
commit | e1276bfe086a40a0fba7e81dd5db13f95287714d (patch) | |
tree | b315c020c50330383dda200a0824279e45d16e8e /rs/java/android/renderscript/ProgramStore.java | |
parent | 2a88008276c51cb787c56a5375f50fa663b796ad (diff) |
Do the sorting for the ShareSheet asynchronously.
This lets the screen fade out and share sheet start being displayed
before all results are sorted. Based heavily on ag/1126533. There are
two other follow ups that I'd like to do after this that aren't a part
of this change:
1) Investigating images being loaded multiple times (from original
change)
2) Put placeholder space while the sorted images are coming in - at the
moment there's some jank when the list of applications becomes
visible.
Test: Unit tests for ChooserActivityTest (still would like to add tests
for ResolveInfoController and UsbResolverActivity).
Change-Id: I4c4a65fff1b0f17fc52b9bd01c3d5c59d649d119
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions