|
|
Chromium Code Reviews
DescriptionBluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send.
This notification should not be sent since.
BUG=647500
Committed: https://crrev.com/0405e3b684cf2cddeadacbe13c035a3eb0bdd80d
Cr-Commit-Position: refs/heads/master@{#423337}
Patch Set 1 #Patch Set 2 : Better cleanup #Patch Set 3 : Adding unittest #
Total comments: 2
Patch Set 4 : Removing wrong code #
Total comments: 2
Patch Set 5 : Adding #if to avoid the test for windows (and with the todo and the bug number) #
Messages
Total messages: 30 (18 generated)
Description was changed from ========== Don't send a value changed notification when a characteristic is written BUG=647500 ========== to ========== Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 ==========
The CQ bit was checked by jlebel@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
jlebel@chromium.org changed reviewers: + ortuno@chromium.org
Hello Giovanni, Can you review this patch to fix notification while writing characteristic? Thanks,
The CQ bit was checked by jlebel@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Could you also update the relevant tests to make sure no event was dispatched and the value hasn't changed?
On 2016/09/21 23:23:25, ortuno wrote: > Could you also update the relevant tests to make sure no event was dispatched > and the value hasn't changed? Done.
The CQ bit was checked by jlebel@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/blueto... File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/blueto... device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:566: characteristic1_->ReadRemoteCharacteristic( I'm not sure why you are adding this?
Should exclude windows for that test? I guess I should create a bug for it? https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/blueto... File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/blueto... device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:566: characteristic1_->ReadRemoteCharacteristic( On 2016/10/05 21:42:23, ortuno wrote: > I'm not sure why you are adding this? Done.
lgtm with windows #if defined and comment pointing to the issue https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/blueto... File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/blueto... device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:573: EXPECT_EQ(0, observer.gatt_characteristic_value_changed_count()); You can add a #if !defined(OS_WIN) and point to the issue you are opening.
The CQ bit was checked by jlebel@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from ortuno@chromium.org Link to the patchset: https://codereview.chromium.org/2357993002/#ps80001 (title: "Adding #if to avoid the test for windows (and with the todo and the bug number)")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/blueto... File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/blueto... device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:573: EXPECT_EQ(0, observer.gatt_characteristic_value_changed_count()); On 2016/10/05 22:13:50, ortuno wrote: > You can add a #if !defined(OS_WIN) and point to the issue you are opening. Done.
The CQ bit was unchecked by jlebel@chromium.org
The CQ bit was checked by jlebel@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 ========== to ========== Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 ========== to ========== Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 Committed: https://crrev.com/0405e3b684cf2cddeadacbe13c035a3eb0bdd80d Cr-Commit-Position: refs/heads/master@{#423337} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/0405e3b684cf2cddeadacbe13c035a3eb0bdd80d Cr-Commit-Position: refs/heads/master@{#423337} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
