Chromium Code Reviews
Descriptionarc: Support more orientation lock types.
Four orientation lock types are added for specific rotation
angles (0, 90, 180, 270 degrees).
Also, Orientation::CURRENT is improved to really lock to the
current orientation, not allowing upside-down orientation.
BUG=chromium:643102
TEST=Manually tested with a small Android app which calls
Activity.setRequestedOrientation().
Review-Url: https://codereview.chromium.org/2300943002
Cr-Commit-Position: refs/heads/master@{#416164}
(cherry picked from commit d01b59e76b012baac3a45caf0adf744950cc2ce7)
Committed: https://chromium.googlesource.com/chromium/src/+/2e451fa899aa2cdee0243da30c60f89642f714d6
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||