forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arc: bluetooth: Separate mojo callbacks for connection state changed
For the device connected state change, use a separate callback for Android, and leave the existing callback for reflecting the state of BluetoothGattConnection object we hold. Also move the code for this from DeviceChanged() to DeviceConnectedStateChanged() which will be much clearer than before. This change is needed for the gatt connection management and acl_stated_changed() callback (ag/10312919) on the Android side. BUG=b:148355935 BUG=b:149658771 TEST=unit_tests --gtest_filter=ArcBluetoothBridgeTest.* Change-Id: I8cdd734c88402f61547d8dc1d0b3178d3f8c7f0f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2053748 Reviewed-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Commit-Queue: Jie Jiang <jiejiang@chromium.org> Cr-Commit-Position: refs/heads/master@{#762706}
- Loading branch information
Jie Jiang
authored and
Commit Bot
committed
Apr 27, 2020
1 parent
e44ea73
commit 7ab54e3
Showing
6 changed files
with
236 additions
and
25 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
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