forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CrOS MultiDevice] Handle missing/stale BeaconSeeds.
SecureChannel previously assumed that BleServiceDataHelper::GenerateForegroundAdvertisement() would always successfully return advertisement data. However, it currently returns a nullptr if either the local device public key or the remote device ID is invalid. In particular, the former can happen if a user keeps their Chromebook offline for over a month straight, resulting in stale BeaconSeeds. This CL adds the missing nullptr check within BleAdvertiserImpl, as well as a new associated delegate method, which is implemented within BleConnectionManagerImpl. Bug: 854452 Change-Id: Icc0675950c674a34553fc8ea1f0bc0e70eece123 Reviewed-on: https://chromium-review.googlesource.com/1175078 Commit-Queue: Kyle Qian <[email protected]> Reviewed-by: Kyle Horimoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#586490}
- Loading branch information
Kyle Qian
authored and
Commit Bot
committed
Aug 27, 2018
1 parent
c06438a
commit 175fdd0
Showing
10 changed files
with
409 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.