commit | 9d501438638ab375fd89a43ab7e366b1f3a4f086 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Fri Apr 12 10:05:29 2019 -0400 |
committer | Matt Pietal <mpietal@google.com> | Fri Apr 12 15:17:12 2019 -0400 |
tree | e2004bcb412abd5ed02a647806242bee17c7853d | |
parent | d7c6b89b32c88e204c7197a649f6fe36efa479a3 [diff] |
Sharesheet - Prevent duplicate direct share targets Duplicate requests can originate with packageChanged events and when an activity onRestart() is issued. Check for duplicates and do not insert them. Also make sure there is adequate space per row even when display size is at max setting. Bug: 129980100 Test: ChooserActivityTest && visual inspection Change-Id: Ica8afe5d20b8d3ae11be90206b23aaebbb03a2c1