Closed
Bug 1241685
Opened 9 years ago
Closed 8 years ago
Link Gecko preference with java telemetry server preference
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox50 fixed)
RESOLVED
FIXED
Firefox 50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(3 files)
In bug 1205835, we grab the telemetry server from SharedPreferences, but nobody ever updates the shared preference value – we should sync the Gecko preference with the Java SharedPreference so users can change their telemetry servers and have this sync with the Gecko Telemetry uploader.
Assignee | ||
Updated•9 years ago
|
Blocks: ut-android
Assignee | ||
Comment 1•9 years ago
|
||
Another approach: intents.
06:57 <@mfinkle> mcomella, mkaply: we could make changing the telemetry URL work like the Switchboard approach
06:57 <@mfinkle> https://github.com/mozilla-services/switchboard-experiments#making-config-changes
06:57 <@mfinkle> adb shell am start --es "switchboard-host" "switchboard.stage.mozaws.net" <package-name>
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → michael.l.comella
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #1)
> Another approach: intents.
I prefer the gecko preference because 1) it's more discoverable, 2) it'll be easier to access for testers, particularly on release builds, & 3) we don't have to worry about the security implications of intent handling.
Assignee | ||
Comment 3•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/58632/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/58632/
Attachment #8761435 -
Flags: review?(ahunt)
Attachment #8761436 -
Flags: review?(ahunt)
Assignee | ||
Comment 4•8 years ago
|
||
In this patch, I move the telemetry server preference from app preferences
to per-profile preferences. We never allowed the user to set the preference
so this should cause no issues.
Review commit: https://reviewboard.mozilla.org/r/58634/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/58634/
Assignee | ||
Comment 5•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/58636/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/58636/
Attachment #8761438 -
Flags: review?(ahunt)
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8761435 [details]
Bug 1241685 - Add TelemetryPreferences.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58632/diff/1-2/
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8761436 [details]
Bug 1241685 - Hook up TelemetryPreferences for telemetry server url.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58634/diff/1-2/
Assignee | ||
Comment 8•8 years ago
|
||
fwiw, I filed bug 1279114 for the enabled state which works well enough and I don't think is worth fixing right now.
Comment 9•8 years ago
|
||
Comment on attachment 8761435 [details]
Bug 1241685 - Add TelemetryPreferences.
https://reviewboard.mozilla.org/r/58632/#review55672
Attachment #8761435 -
Flags: review?(ahunt) → review+
Updated•8 years ago
|
Attachment #8761436 -
Flags: review?(ahunt) → review+
Comment 10•8 years ago
|
||
Comment on attachment 8761436 [details]
Bug 1241685 - Hook up TelemetryPreferences for telemetry server url.
https://reviewboard.mozilla.org/r/58634/#review55674
Comment 11•8 years ago
|
||
Comment on attachment 8761438 [details]
Bug 1241685 - Add brief javadoc to assist with testing.
https://reviewboard.mozilla.org/r/58636/#review55676
Attachment #8761438 -
Flags: review?(ahunt) → review+
Assignee | ||
Comment 12•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6d374697de7a07f8ca3a3e4f7dcaa7e38e788c6e
Bug 1241685 - Add TelemetryPreferences. r=ahunt
https://hg.mozilla.org/integration/fx-team/rev/144f108be3b3552e66f601cc86beb1ac494555ec
Bug 1241685 - Hook up TelemetryPreferences for telemetry server url. r=ahunt
https://hg.mozilla.org/integration/fx-team/rev/afc529c199066e9c9d8a88318f24f631a7678d53
Bug 1241685 - Add brief javadoc to assist with testing. r=ahunt
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6d374697de7a
https://hg.mozilla.org/mozilla-central/rev/144f108be3b3
https://hg.mozilla.org/mozilla-central/rev/afc529c19906
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•