Closed Bug 1744101 Opened 3 years ago Closed 3 years ago

Support ScreenOrientation.unlock

Categories

(GeckoView :: General, enhancement, P1)

Unspecified
All
enhancement

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: calu, Assigned: calu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:m97])

Attachments

(1 file, 1 obsolete file)

No description provided.
Blocks: 1744125
Priority: -- → P1
Whiteboard: [geckoview:m97]
Assignee: nobody → calu
Attached file Bug 1744101 - Support ScreenOrientation.unlock (obsolete) (deleted) —

Unlocking the screen orientation means locking the device to its default orientation. It is the same as calling screen.orientation.lock('natural'), where natural means the "device manufacturer's considered default orientation". That corresponds to the GeckoScreenOrientation constant ScreenOrientation_Default. In the Java public API, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED corresponds to default, as specified by chromium (https://chromium.googlesource.com/chromium/src/+/66.0.3359.158/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java).

Attachment #9254104 - Attachment description: WIP: Bug 1744101 - Support ScreenOrientation.unlock → Bug 1744101 - Support ScreenOrientation.unlock
Attachment #9254099 - Attachment is obsolete: true
Pushed by calu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85a76acf474e Support ScreenOrientation.unlock r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: