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

Issue 2853113005: Avoid Showing rotation change notification when source is accelerometer (Closed)

Created:
3 years, 7 months ago by afakhry
Modified:
3 years, 7 months ago
Reviewers:
oshima_google, oshima
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid Showing rotation change notification when source is accelerometer BUG=717252 TEST=Manually rotate device with accelerometer and observe there's no notification Review-Url: https://codereview.chromium.org/2853113005 Cr-Commit-Position: refs/heads/master@{#469058} Committed: https://chromium.googlesource.com/chromium/src/+/31b81d4cf8b6a063391839816c82fc61c8272e53

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 2

Patch Set 3 : Oshima's comment #

Patch Set 4 : Don't run on mushrome #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
M ash/system/screen_layout_observer.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M ash/system/screen_layout_observer_unittest.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M testing/buildbot/filters/ash_mus_unittests.filter View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
afakhry
Oshima-san, please take a look. Thank you!
3 years, 7 months ago (2017-05-02 01:42:30 UTC) #2
oshima
can you add a unit test?
3 years, 7 months ago (2017-05-02 14:17:48 UTC) #3
afakhry
On 2017/05/02 14:17:48, oshima wrote: > can you add a unit test? Done. Please take ...
3 years, 7 months ago (2017-05-03 04:49:34 UTC) #6
oshima
https://codereview.chromium.org/2853113005/diff/20001/ash/system/screen_layout_observer_unittest.cc File ash/system/screen_layout_observer_unittest.cc (right): https://codereview.chromium.org/2853113005/diff/20001/ash/system/screen_layout_observer_unittest.cc#newcode452 ash/system/screen_layout_observer_unittest.cc:452: display_manager()->UpdateInternalManagedDisplayModeListForTest(); Can you use DisplayManager::SetDisplayRotation ?
3 years, 7 months ago (2017-05-03 12:54:56 UTC) #9
afakhry
https://codereview.chromium.org/2853113005/diff/20001/ash/system/screen_layout_observer_unittest.cc File ash/system/screen_layout_observer_unittest.cc (right): https://codereview.chromium.org/2853113005/diff/20001/ash/system/screen_layout_observer_unittest.cc#newcode452 ash/system/screen_layout_observer_unittest.cc:452: display_manager()->UpdateInternalManagedDisplayModeListForTest(); On 2017/05/03 12:54:56, oshima wrote: > Can you ...
3 years, 7 months ago (2017-05-03 16:02:41 UTC) #11
oshima_google
lgtm
3 years, 7 months ago (2017-05-03 16:19:02 UTC) #14
oshima
lgtm
3 years, 7 months ago (2017-05-03 16:27:26 UTC) #15
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/2853113005/60001
3 years, 7 months ago (2017-05-03 17:45:41 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 18:58:00 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/31b81d4cf8b6a063391839816c82...

Powered by Google App Engine
This is Rietveld 408576698