Closed Bug 964648 Opened 10 years ago Closed 6 years ago

[Window Management] Let OrientationManager to request screen orientation lock/unlock

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alive, Unassigned)

References

Details

Currently we spread screen.mozLockOrientation/screen.mozUnlockOrientation in:
AppWindow.prototype.setOrientation
AttentionScreen
LockScreen
OrientationManager

This results in that we have consecutive screen orientation lock and then the lock after unlock would get failed.

The proper way should be let OrientationManager to response orientation lock request to decide what to do next instead of discrete event dispatching to result race condition.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.