Closed
Bug 1754858
Opened 2 years ago
Closed 2 years ago
Move Screen orientation into widget::Screen rather than keeping it around in hal.
Categories
(Core :: Widget, defect, P2)
Core
Widget
Tracking
()
RESOLVED
FIXED
99 Branch
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
It's where it logically belongs.
Assignee | ||
Comment 1•2 years ago
|
||
Make the ScreenOrientation part of the screen struct, as it should. Stop
using HAL to propagate just screen orientation updates, use the more
general screen manager.
Instead of HAL observers, add a simple observer service notification,
and clean a bunch of the code.
This will simplify bug 1754802 a bit, and is generally simpler.
Shouldn't change behavior. I've tested the events and some common
orientation locking use cases like Youtube, and they behave the same.
Depends on D138461
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66f2b55fec3b Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/ddbd482689fc Only avoid orientation unlock call on destructor, to fix OrientationDelegateTest.orientationUnlock.
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/66f2b55fec3b
https://hg.mozilla.org/mozilla-central/rev/ddbd482689fc
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•