DescriptionAvoid failing assert when Physical Web scanner is inactive
Removes an assert that was triggered when scanner_ was nil,
which is expected whenever the scanner is in the "stopped"
state. Instead, we explicitly check if scanner_ is nil and
return an empty metadata list.
BUG=630769
Committed: https://crrev.com/105d9e85ac073ba554e370d70a5ec7dc77be7930
Cr-Commit-Position: refs/heads/master@{#412584}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|