mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

Since Windows tablet mode has a orientation lock API, this patch implements orientation lock backend for Windows tablet mode. `GetAutoRotationState` API recognizes whether orientation API is supported on the device. So this fix uses this API to check orientation API capability. Differential Revision: https://phabricator.services.mozilla.com/D162451