Closed Bug 1081426 Opened 10 years ago Closed 10 years ago

Create ScreenBrightnessTransition module and tests

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S7 (24Oct)

People

(Reporter: timdream, Assigned: timdream)

References

Details

(Whiteboard: [FT:System-Platform])

Attachments

(1 file)

Move transitionBrightness() out of ScreenManager before working on improvements like better transition and dismantle ScreenManager. It is too big to take anything more complex.
Whiteboard: [FT:System-Platform]
Comment on attachment 8503535 [details] [review]
mozilla-b2g:master PR#25048

Alive, are you the best person to review this? We should also go through the naming of the file and the function if that doesn't fit into your convention.

Thanks!
Attachment #8503535 - Flags: review?(alive)
Comment on attachment 8503535 [details] [review]
mozilla-b2g:master PR#25048

Left some ideas in github comments to simplify the parent module, lemme know if you disagree it's a better pattern.
Attachment #8503535 - Flags: review?(alive) → review+
I ended up changing the name of the file that contains ScreenBrightnessTransition. Let's figure out how to move out all screen brightness logic (and the naming of the file / module) later.
Target Milestone: --- → 2.1 S7 (24Oct)
master: https://github.com/mozilla-b2g/gaia/commit/9500e9b6a365553f49f1924a9b763506aa7245ea

30 lines away from ScreenManager :)

https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=7d8a121abf9f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: