commit | fda35097e60fc1756a6e4a2847883df0b75a4655 | [log] [tgz] |
---|---|---|
author | Bailey Forrest <[email protected]> | Wed May 16 00:30:44 2018 |
committer | Commit Bot <[email protected]> | Wed May 16 00:30:44 2018 |
tree | 76717cfe4f831393c65a67e7eb7027dc66a5acaa | |
parent | db5a7efe37ac6f283f8dfc411f5f0fe57cc082a9 [diff] [blame] |
[chromecast][Bluetooth] Fix connect/services logic This allows WebBT to work if we were connected before or after the WebBT application starts. Remove BluetoothAdapterCast::OnServicesUpdated because Connect now implies services are discovered. Dynamic service updating is also deprecated: https://cs.chromium.org/chromium/src/device/bluetooth/bluetooth_adapter.h?rcl=21e8d8c8dc11cd4b8f77c47b7f37098ebde13d3a&l=142 BUG=internal b/79542125 TEST=device_unittests. Manual Change-Id: I99ed5dc61942cb310ed76581648fdab6c31316a1 Reviewed-on: https://chromium-review.googlesource.com/1058605 Commit-Queue: Bailey Forrest <[email protected]> Reviewed-by: Stephen Lanham <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Cr-Commit-Position: refs/heads/master@{#558898}
diff --git a/device/BUILD.gn b/device/BUILD.gn index 68be0c8..a5d97242 100644 --- a/device/BUILD.gn +++ b/device/BUILD.gn
@@ -246,6 +246,7 @@ deps += [ "//chromecast/device/bluetooth:util", "//chromecast/device/bluetooth/le", + "//chromecast/device/bluetooth/le:test_support", "//chromecast/device/bluetooth/shlib:mock_shlib", ] } else {