Descriptionbluetooth-advertising: Fix wrong assignment and append of wrong type
The assignment statements where flipped so service data was always null.
Also the wrong function was being used to append to the writer which
caused chrome to crash.
BUG=525313
Committed: https://crrev.com/945c90df408fc010d5e56e0768881d26e451adad
Cr-Commit-Position: refs/heads/master@{#346555}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add tests #
Total comments: 8
Patch Set 3 : Address armansito's comments #
Depends on Patchset: Messages
Total messages: 20 (6 generated)
|