Closed Bug 1179426 Opened 10 years ago Closed 8 years ago

Crash reports should be always by default on foxfood builds

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: scabral, Unassigned)

Details

(Keywords: feature, foxfood, Whiteboard: [good first bug][mentor-lang=zh][lang=js])

Crash reports should be always by default on foxfood builds
Noaki, this seems like a really good idea. Any idea what component this belongs in, or how to make it happen?
Flags: needinfo?(nhirata.bugzilla)
There's a setting under settings -> Improve Firefox OS -> crash reports that we could probably set to Always send a report. I'm not sure after deployment how to force the option for the setting, unless we hard code it into the gaia; ie We can probably add a code path to force it when the build flag option for DOGFOOD=1 is used.
Flags: needinfo?(nhirata.bugzilla) → needinfo?(mhenretty)
I'm guessing you might come up with other better solutions, though. :)
Note that in dogfood builds, we are prohibited from disabling data collection, so it would make sense to prohibit disabling crash reporting, too. (Which would, incidentally, permit forcing it on.)
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #2) > There's a setting under settings -> Improve Firefox OS -> crash reports that > we could probably set to Always send a report. > > I'm not sure after deployment how to force the option for the setting, > unless we hard code it into the gaia; ie We can probably add a code path to > force it when the build flag option for DOGFOOD=1 is used. It's the "after deployment" that is the hard part, and that's what I was hoping you could help with :) We could definitely add something here [1], but I don't think that would affect current foxfooders. I wasn't sure OTA's could modify a users settings. 1.) https://github.com/mozilla-b2g/gaia/blob/22ae16db0c84a4c4286bc40c302324ca7e10edef/build/settings.js#L286
Flags: needinfo?(mhenretty)
QA Whiteboard: [foxfood-triage]
Component: General → Gaia::Settings
It's possible to check the foxfood settings and force to set it with default value https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/panels/improve_browser_os/panel.js#L8
Keywords: feature
Whiteboard: [good first bug][mentor-lang=zh][lang=js]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.