[Nearby] Refresh advertising data when private certificates change
Currently, if private certificate data changes, the Chromebook might continue advertising the stale certificate data until periodic advertisement rotation occurs. A symptom could be other devices failing to discover the Chromebook for up to 15 minutes after the Chromebook's initial onboarding, for instance. In this CL, we refresh the advertising data whenever private certificates change. Manually verified that a phone can immediately discover a Chromebook after 1) initial Chromebook Nearby Share onboarding and 2) changing selected contacts on the Chromebook (which results in private certificate recreation). Fixed: 1154064 Change-Id: I4839d7b91df57759382e646fb2db8ee482d53601 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566749 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@{#832228}
Showing
Please register or sign in to comment