commit | 7c346d76dbf749c72ef9733e4befd2845fcf6935 | [log] [tgz] |
---|---|---|
author | jlebel <[email protected]> | Tue Feb 14 08:54:42 2017 |
committer | Commit bot <[email protected]> | Tue Feb 14 08:54:42 2017 |
tree | d9363f373b39c751117247994d7c857d02211195 | |
parent | f0056e78a01fe12008eec015c18f28c766d3cf58 [diff] [blame] |
Bluetooth: macOS: Implement BluetoothRemoteGattCharacteristicMac::UnsubscribeFromNotifications BUG=633191 Review-Url: https://codereview.chromium.org/2634873002 Cr-Commit-Position: refs/heads/master@{#450295}
diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm index 8a5eafe..a11a11b 100644 --- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm +++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
@@ -190,7 +190,8 @@ - (void)setNotifyValue:(BOOL)notification forCharacteristic:(CBCharacteristic*)characteristic { - _bluetoothTestMac->OnFakeBluetoothGattSetCharacteristicNotification(); + _bluetoothTestMac->OnFakeBluetoothGattSetCharacteristicNotification( + notification == YES); } @end