Index: device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
index 8a5eafe8d5a22d1864ac43538898697a115ff75e..a11a11ba5ddcda7c04fd1e30664aa8673f009963 100644 |
--- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
+++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
@@ -190,7 +190,8 @@ using base::scoped_nsobject; |
- (void)setNotifyValue:(BOOL)notification |
forCharacteristic:(CBCharacteristic*)characteristic { |
- _bluetoothTestMac->OnFakeBluetoothGattSetCharacteristicNotification(); |
+ _bluetoothTestMac->OnFakeBluetoothGattSetCharacteristicNotification( |
+ notification == YES); |
} |
@end |