Closed
Bug 966211
Opened 12 years ago
Closed 12 years ago
Screen should not timeout when I have a running stopwatch
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: daleharvey, Assigned: gargsms)
References
Details
Attachments
(1 file, 1 obsolete file)
808 bytes,
patch
|
mcav
:
review+
|
Details | Diff | Splinter Review |
I need to know how long to cook my eggs damnit
Reporter | ||
Updated•12 years ago
|
Blocks: dale-being-happy
Assignee | ||
Comment 1•12 years ago
|
||
Hey, Dale,
I would like to work on this bug. Please guide me.
Flags: needinfo?(dale)
Reporter | ||
Comment 2•12 years ago
|
||
Hey Marcus
Is this a feature we want, is it in any backlog etc?
Flags: needinfo?(dale) → needinfo?(m)
Comment 3•12 years ago
|
||
I don't think this is in any backlog, but it appears iOS keeps the screen alive, and it makes sense that if I was running a stopwatch, I'd likely want the screen to stay active unless I exit the app or manually lock it. Seems reasonable to me to fix.
Flags: needinfo?(m)
Updated•12 years ago
|
Assignee: nobody → garg_sms
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8369111 -
Flags: review?(m)
Comment 5•12 years ago
|
||
Comment on attachment 8369111 [details] [diff] [review]
Changed stopwatch_panel.js, working fine now
Looks good to me! I'd make two minor changes (which I can do when I land it, if you like, or you can update the patch if you prefer):
- I'd change `lockObj` to something more descriptive like `screenWakeLock`
- I'd just use `navigator` instead of `window.navigator`.
I'll test on Monday when I get back into work, and if all looks well, I'll land it in master.
Attachment #8369111 -
Flags: review?(m) → review+
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Marcus Cavanaugh [:mcav] <mcav@mozilla.com> from comment #5)
> Comment on attachment 8369111 [details] [diff] [review]
> Changed stopwatch_panel.js, working fine now
>
> Looks good to me! I'd make two minor changes (which I can do when I land it,
> if you like, or you can update the patch if you prefer):
>
> - I'd change `lockObj` to something more descriptive like `screenWakeLock`
>
> - I'd just use `navigator` instead of `window.navigator`.
>
> I'll test on Monday when I get back into work, and if all looks well, I'll
> land it in master.
I did update the patch. Thank you!
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #8369111 -
Attachment is obsolete: true
Attachment #8369157 -
Flags: review?(m)
Comment 9•12 years ago
|
||
Comment on attachment 8369157 [details] [diff] [review]
Comment #5 taken into account
r+, though the diff is backwards (minus lines instead of plus lines). Will land after travis passes.
Attachment #8369157 -
Flags: review?(m) → review+
Flags: needinfo?(m)
Comment 10•12 years ago
|
||
Landed in master:
https://github.com/mozilla-b2g/gaia/commit/6901d4f612fdbb3634f2867a1f6e1924e60f426e
Thanks for your patch!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•12 years ago
|
||
(In reply to Marcus Cavanaugh [:mcav] <mcav@mozilla.com> from comment #9)
> Comment on attachment 8369157 [details] [diff] [review]
> Comment #5 taken into account
>
> r+, though the diff is backwards (minus lines instead of plus lines). Will
> land after travis passes.
Oops, sorry for that. It was my first ever actual bug fix. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•