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)

All
Android
defect
Not set
normal

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.
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: nobody → michael.l.comella
(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.
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/
Comment on attachment 8761435 [details] Bug 1241685 - Add TelemetryPreferences. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58632/diff/1-2/
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/
fwiw, I filed bug 1279114 for the enabled state which works well enough and I don't think is worth fixing right now.
Attachment #8761435 - Flags: review?(ahunt) → review+
Attachment #8761436 - Flags: review?(ahunt) → review+
Comment on attachment 8761436 [details] Bug 1241685 - Hook up TelemetryPreferences for telemetry server url. https://reviewboard.mozilla.org/r/58634/#review55674
Attachment #8761438 - Flags: review?(ahunt) → review+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: