gecko-dev/hal/android
Makoto Kato f3ee106f12 Bug 1750670 - Better support orientation.lock('natural'). r=geckoview-reviewers,calu
natural is defined as (from https://w3c.github.io/screen-orientation/#dfn-natural)

> A computer monitor are commonly naturally landscape-primary, while a mobile
> phones are commonly naturally portrait-primary.

But GeckoView sets `SCREEN_ORIENTATION_UNSPECIFIED` that is unlock orientation.

Like Blink, we should set landscape-primary or portrait-primary (depends on
current monitor).

Differential Revision: https://phabricator.services.mozilla.com/D164436
2022-12-14 03:42:45 +00:00
..
AndroidHal.cpp Bug 1750670 - Better support orientation.lock('natural'). r=geckoview-reviewers,calu 2022-12-14 03:42:45 +00:00
AndroidProcessPriority.cpp
AndroidSensor.cpp