[Nearby] Add self to list of allowed contacts
Always include the logged-in account in the list of contacts uploaded to the Nearby Share server. Also, mark this contact as "selected". This automatically enables sharing with other devices logged in with the same account. This self-sharing works in all- or selected-contacts visibility modes. Previously, to enable self-sharing, a user would need to manually add their own account to their list of contacts at contacts.google.com, for instance. Verified fix with manual testing. Fixed: 1138679 Change-Id: Ib3a2137257e4d4c56a43011d747811f522d9ad40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487244 Auto-Submit: Josh Nohle <nohle@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#818943}
Showing
Please register or sign in to comment