[Nearby] Periodically upload contacts to Nearby Share server
Upload the user's contact list and allowlist to the Nearby Share server every 24 hours to ensure that the server has the information needed to distribute certificates. This upload supplements the current strategy of uploading contacts whenever the contact list or allowlist changes. This ensures that, if the device record is removed from the Nearby Share database--after 9 days of inactivity, for example--the client will resend the contact list even if the contact list has not changed. Manually tested and verified. Fixed: 1151498 Change-Id: I9d4669ff1bafc3ac22c385cc8ef4aaf6f9dc355b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2553035 Commit-Queue: Josh Nohle <nohle@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Auto-Submit: Josh Nohle <nohle@chromium.org> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#829863}
Showing
Please register or sign in to comment