Closed
Bug 1124567
Opened 10 years ago
Closed 10 years ago
[Emulator] set mozSettings value "screen.timeout" of the profile-to-test to 0 so the screen never sleeps
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S6 (20feb)
People
(Reporter: hsinyi, Assigned: tzimmermann)
References
Details
Attachments
(3 files)
+++ This bug was initially created as a clone of Bug 1108271 +++
Bug 1108271 will keep focusing on a formal, long-term solution for system app.
Let's use this bug to provide a quick solution to not block emulator-kk tests.
Quote of bug 1108271 comment 13
"You can do something like this, pass a SCREEN_TIMEOUT=0 from BoardConfig.mk:
https://github.com/mozilla-b2g/device-rpi/blob/ab404c/BoardConfig.mk#L54
If DEVICE_DEBUG=1 (I don't know where is it being set), the timeout will be changed to 300 sec
https://github.com/mozilla-b2g/gaia/blob/05f8670/Makefile#L125
"
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
I was able to get this working by putting SCREEN_TIMEOUT=0 into my .userconfig. I haven't yet been able to make this work from makefiles. Using the BoardConfig.mk as shown in the example didn't work.
Assignee | ||
Comment 2•10 years ago
|
||
This works on my local machine:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf
Assignee | ||
Updated•10 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → All
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2)
> This works on my local machine:
>
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf
Awesome :D
Assignee | ||
Comment 4•10 years ago
|
||
The try session for this patch is at
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d009edfcd6bf
Assignee | ||
Comment 7•10 years ago
|
||
Michael,
Please take a look at the attached pull requests. Thanks!
Updated•10 years ago
|
Attachment #8555109 -
Flags: review?(mwu) → review+
Updated•10 years ago
|
Attachment #8555106 -
Flags: review?(mwu) → review+
Updated•10 years ago
|
Attachment #8555105 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Thank you so much! This will hopefully make the emulator more reliable.
Keywords: checkin-needed
Comment 9•10 years ago
|
||
Master: https://github.com/mozilla-b2g/platform_build/commit/6295c4eb38de793159368aa7f745ef3faf7208aa
b2g-4.3_r2.1: https://github.com/mozilla-b2g/platform_build/commit/ac778ae59be38aea284a04c89640b1a11c26a5de
b2g-4.4.2_r1: https://github.com/mozilla-b2g/platform_build/commit/f47964c89a9c34d9a2e77afa3608d9ec604c3d20
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S6 (20feb)
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•