commit | f38e9d25aed24a568af1314e097c1ea722b4e063 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Fri Feb 15 10:01:03 2019 -0500 |
committer | Matt Pietal <mpietal@google.com> | Tue Feb 19 09:44:18 2019 -0500 |
tree | b77406596f1792203ba39eb4e82d9fb90decdc67 | |
parent | 753f4ce46865c6fc992e4fd9566aec36f812f688 [diff] |
Sharesheet - Support sharing from downloads Don't assume that all shared files have a DISPLAY_NAME index. Downloads provide a different title index, so check the cursor index for -1 values. Also make sure to close the cursor when done. Bug: 124448157 Test: atest ChooserActivityTest, manually test sharing a download Change-Id: I0beda6b72fb74c65fc4665c8234f147667925784