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

Issue 399553002: [Android] Implement ScreenOrientation.unlock align with spec (Closed)

Created:
6 years, 5 months ago by wang16
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Implement ScreenOrientation.unlock align with spec This is for compliance with ScreenOrientation (https://w3c.github.io/screen-orientation). When unlock screen orientation, it should lock the orientation to default orientation. Previous implementation is to set the orientation to "unspecified", which is not fully aligned with spec. Instead, read the configuration from the activity metadata in AndroidManifest.xml and set the orientation accordingly. BUG=394214 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284396

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update for comments #

Patch Set 3 : Put the setRequestOrientation to finally block #

Patch Set 4 : update AUTHOR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java View 1 2 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
wang16
This is for compliance with ScreenOrientation (https://w3c.github.io/screen-orientation). When unlock screen orientation, it should lock the ...
6 years, 5 months ago (2014-07-16 06:02:55 UTC) #1
jochen (gone - plz use gerrit)
please get an OWNER closer to this file to review this
6 years, 5 months ago (2014-07-16 08:58:48 UTC) #2
mlamouri (slow - plz ping)
Thanks a lot, this patch is great! :) https://codereview.chromium.org/399553002/diff/1/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java File content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java (right): https://codereview.chromium.org/399553002/diff/1/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java#newcode85 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java:85: } ...
6 years, 5 months ago (2014-07-16 09:13:43 UTC) #3
wang16
On 2014/07/16 09:13:43, Mounir Lamouri wrote: > Thanks a lot, this patch is great! :) ...
6 years, 5 months ago (2014-07-17 01:31:58 UTC) #4
wang16
On 2014/07/16 08:58:48, jochen wrote: > please get an OWNER closer to this file to ...
6 years, 5 months ago (2014-07-17 01:33:45 UTC) #5
mlamouri (slow - plz ping)
lgtm
6 years, 5 months ago (2014-07-17 08:54:18 UTC) #6
xwang
The CQ bit was checked by xingnan.wang@chromium.org
6 years, 5 months ago (2014-07-18 04:46:35 UTC) #7
xwang
The CQ bit was unchecked by xingnan.wang@chromium.org
6 years, 5 months ago (2014-07-18 04:46:36 UTC) #8
wang16
On 2014/07/17 08:54:18, Mounir Lamouri wrote: > lgtm The trybots seem not working correctly, the ...
6 years, 5 months ago (2014-07-18 07:05:03 UTC) #9
wang16
The CQ bit was checked by shiliu.wang@intel.com
6 years, 5 months ago (2014-07-21 00:59:17 UTC) #10
wang16
The CQ bit was unchecked by shiliu.wang@intel.com
6 years, 5 months ago (2014-07-21 00:59:17 UTC) #11
wang16
The CQ bit was checked by shiliu.wang@intel.com
6 years, 5 months ago (2014-07-21 01:25:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shiliu.wang@intel.com/399553002/40001
6 years, 5 months ago (2014-07-21 01:25:48 UTC) #13
wang16
update AUTHOR
6 years, 5 months ago (2014-07-21 01:44:40 UTC) #14
wang16
On 2014/07/21 01:44:40, wang16 wrote: > update AUTHOR Intel already signed corporate CLA for me. ...
6 years, 5 months ago (2014-07-21 01:49:28 UTC) #15
wang16
The CQ bit was checked by shiliu.wang@intel.com
6 years, 5 months ago (2014-07-21 01:49:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shiliu.wang@intel.com/399553002/60001
6 years, 5 months ago (2014-07-21 01:50:46 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 07:11:11 UTC) #18
Message was sent while issue was closed.
Change committed as 284396

Powered by Google App Engine
This is Rietveld 408576698