Closed Bug 1394693 Opened 2 years ago Closed 2 years ago

GeckoScreenOrientation.(PORTRAIT|LANDSCAPE) should map to ActivityInfo.SCREEN_ORIENTATION_SENSOR_(PORTRAIT|LANDSCAPE).

Categories

(Firefox for Android :: Audio/Video, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: jhlin, Assigned: jhlin)

Details

Attachments

(1 file)

Because PORTRAIT = PORTRAIT_PRIMARY | PORTRAIT_SECONDARY and LANDSCAPE = LANDSCAPE_PRIMARY | LANDSCAPE_SECONDARY, when orientation is locked to these 2 types, user should be able to rotate the screen 180 degree if the mobile device's sensor supports it.
Comment on attachment 8902110 [details]
Bug 1394693 - return more appropriate screen orientation types.

https://reviewboard.mozilla.org/r/173554/#review179040
Attachment #8902110 - Flags: review?(esawin) → review+
Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7cc985da769f
return more appropriate screen orientation types. r=esawin
https://hg.mozilla.org/mozilla-central/rev/7cc985da769f
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Assignee: nobody → jolin
You need to log in before you can comment on or make changes to this bug.