Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Issue 2297593002: [sensors] Don't call OnSensorReadingChanged if client's suspended. (Closed)

Created:
4 years, 3 months ago by maksims (do not use this acc)
Modified:
4 years, 3 months ago
Reviewers:
shalamov, Mikhail
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sensors] Don't call OnSensorReadingChanged if client's suspended. Add check that tests client is not suspended. If not, OnSensorReadingChanged is called on that client. Committed: https://crrev.com/71f9df8fd50edafaccddcae2487410509058fcf1 Cr-Commit-Position: refs/heads/master@{#415565}

Patch Set 1 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M device/generic_sensor/platform_sensor.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
maksims (do not use this acc)
please review
4 years, 3 months ago (2016-08-30 10:04:01 UTC) #4
Mikhail
https://codereview.chromium.org/2297593002/diff/40001/device/generic_sensor/platform_sensor.cc File device/generic_sensor/platform_sensor.cc (right): https://codereview.chromium.org/2297593002/diff/40001/device/generic_sensor/platform_sensor.cc#newcode87 device/generic_sensor/platform_sensor.cc:87: if (client->IsNotificationSuspended()) if (!client->IsNotificationSuspended()) client->OnSensorReadingChanged(); https://codereview.chromium.org/2297593002/diff/40001/device/generic_sensor/platform_sensor.h File device/generic_sensor/platform_sensor.h (right): ...
4 years, 3 months ago (2016-08-30 10:27:37 UTC) #5
maksims (do not use this acc)
https://codereview.chromium.org/2297593002/diff/40001/device/generic_sensor/platform_sensor.cc File device/generic_sensor/platform_sensor.cc (right): https://codereview.chromium.org/2297593002/diff/40001/device/generic_sensor/platform_sensor.cc#newcode87 device/generic_sensor/platform_sensor.cc:87: if (client->IsNotificationSuspended()) On 2016/08/30 10:27:37, Mikhail wrote: > if ...
4 years, 3 months ago (2016-08-30 11:11:30 UTC) #6
Mikhail
lgtm
4 years, 3 months ago (2016-08-30 12:00:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2297593002/80001
4 years, 3 months ago (2016-08-31 05:15:45 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:80001)
4 years, 3 months ago (2016-08-31 05:19:10 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 05:21:13 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/71f9df8fd50edafaccddcae2487410509058fcf1
Cr-Commit-Position: refs/heads/master@{#415565}

Powered by Google App Engine
This is Rietveld 408576698