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

Issue 2951773002: Don't lock and save the orientation change made not through ScreenOrientationController (Closed)

Created:
3 years, 6 months ago by oshima
Modified:
3 years, 6 months ago
Reviewers:
afakhry
CC:
chromium-reviews, mlamouri+watch-screen-orientation_chromium.org, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't lock and save the orientation change made not through ScreenOrientationController This can happen when rotation animator sets the orientation after animation is completed. We shouldn't save this anyway, as we changed the semantics as follows: a) A user/API driven rotation change in tablet mode should be treated as user locked rotation. b) A user will not be able to change the orientation in tablet mode from settings. BUG=734107 TEST=Manual + unit test Review-Url: https://codereview.chromium.org/2951773002 Cr-Commit-Position: refs/heads/master@{#481027} Committed: https://chromium.googlesource.com/chromium/src/+/b74f9beb8a7d96e0dba3556061edd4b3cc3b098d

Patch Set 1 #

Patch Set 2 : removed tests that no longer makes sense #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -48 lines) Patch
M ash/content/display/screen_orientation_controller_chromeos_unittest.cc View 1 2 chunks +0 lines, -37 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 1 chunk +8 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
oshima
3 years, 6 months ago (2017-06-20 16:24:05 UTC) #2
afakhry
lgtm
3 years, 6 months ago (2017-06-20 17:32:48 UTC) #5
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/2951773002/20001
3 years, 6 months ago (2017-06-20 22:55:15 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 23:42:00 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b74f9beb8a7d96e0dba3556061ed...

Powered by Google App Engine
This is Rietveld 408576698