Closed Bug 1111221 Opened 9 years ago Closed 9 years ago

Add telemetry for search suggestions provider usage

Categories

(Firefox for Android Graveyard :: Data Providers, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: rnewman, Unassigned, Mentored)

References

Details

(Whiteboard: [good second bug][lang=java])

We have a content provider URI to integrate with the system search feature. This was removed in KitKat, but we should figure out if anyone using earlier releases is using it at all. If not, then Bug 1111220 is an easy sell.
I'm kind of lost here.
Could you guide me as to how to approach?
Take a look at this commit for inspiration:

https://hg.mozilla.org/mozilla-central/rev/515dbeff1513

You probably want a simple counter type:

https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe

There's a complication, which is that we don't expect Gecko to be running when the content provider is being used. Bug 1042956 has a solution for that.
As Richard points out, this is not as easy as it should be.

I'm going to make an executive decision here:

Given that the feature is no longer supported, and on Android versions where it is supported it is off by default (you need to go into the Google Phone Search settings and enable Firefox support), we can skip the Telemetry data and just start the process of removing the code.

I am closing this bug. Move on to the next step.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Blocks: 1177723
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.