Commit Graph

269 Commits (8f29882f604d059d55b30544306c27a0483759ae)

Author SHA1 Message Date
Gabriel Luong 8f29882f60 Bug 1851678 - Catch AutofillApiException exception when fetching autofill data and setting startup metrics
(cherry picked from commit 6449e3ca8fef0b87de285d28889d3694b3df24a6)
8 months ago
mergify[bot] 2c1d48e34c Bug 1846287 - Catch LoginsApiException exception when fetching the list of logins and setting startup metrics (#3196)
(cherry picked from commit 64add132e3cadd3f2421dc619ad51242f243c406)

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
9 months ago
Arturo Mejia 20f3002e80 Bug 1839239 - Add crash bread crumbs for dialogs. 10 months ago
t-p-white 40d5446c4b Bug 1840341 - Add memory telemetry for experiment 11 months ago
Harrison Oglesby 24c795ce5c Bug 1836164 - New growth telemetry for credential management 11 months ago
Harrison Oglesby f8d6ec5758 Bug 1836165 - New growth telemetry for private tab open count 11 months ago
rahulsainani 0582611fde Bug 1838613 - Migrate NotificationManagerCompat ext to AC 11 months ago
Roger Yang e1bc5bb554 Bug 1838512 - Move Browsers Cache utility into Android Components 11 months ago
Roger Yang 6b5ca8e2df Bug 1836887 - Remove telemetry probes expired in v116 12 months ago
Bruno Rosa ef95f337f3 Bug 1833638 - remove client ID duplication code 1 year ago
Roger Yang eaa841be4c Bug 1830765 - Remove duplicate toolbar position metrics 1 year ago
Bruno Rosa 581a58b1c3 Bug 1823678 - Integrate Server Knobs into Fenix 1 year ago
mcarare 25cc2864ff Bug 1825071 - Refactor FenixLogSink to remove mockkStatic usage. 1 year ago
Roger Yang bb81e099ad Bug 1830988 - Renew telemetry probes expiring in v116 1 year ago
Raphael Pierzina b235360366 Bug 1822119 - Store new UUID in shared prefs and send in metrics ping (#1541) 1 year ago
rahulsainani 18bae37f2a Bug 1829301 - Make fenix onboarding singleton 1 year ago
Jeff Boek 70d4b7cd46 Bug 1820211 - Adds `tabKilled` event to track when a tab was killed with form data. (#1343)
* Bug 1820211 - Adds `tabKilled` event to track when a tab was killed with form data.

- Also includes if the tab was the active tab and whether the app was in the foreground.

* Bug 1820211 - Adds tests for TelemetryMiddleware and StoreLifecycleObserver

* Bug 1820211 - Renames CheckFormDataAction to UpdateHasFormData
- Removes @property hasFormData comment from sessionState
- Moves checking formdata from TabContentMiddleware to SessionPrioritizationMiddleware

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
Benjamin Forehand Jr 862d8aa02d Bug 1819727 - Create basic nimbus message UI test (#1057)
* Bug 1819727 - Create basic nimbus message UI test

* Fix linting errors.

* Bug 1819727 - Updates based on review.

* Bug 1819727 - Added license and test file notes.

* Bug 1819727 - Fix lint errors.

---------

Co-authored-by: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
Christian Sadilek b950e808ef Bug 1825028 - Delay init of MozillaOnline build until privacy notice accepted
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
1 year ago
Bruno Rosa 5cf3267a03 Bug 1817029 - Add the client-deduplication ping (#861)
* Bug 1817245 - new Nimbus feature for controlling client-deduplication ping

This feature will enable/disable the sending of the `client-deduplication`
ping that will be added in a later PR.

* Bug 1817029 - Add the client-deduplication ping

The `client-deduplication` ping will be used to determine if
client IDs are being regenerated erroneously. This ping uses
the lifecycle observers to (almost) replicate the same scheduling
as the baseline ping.

* Bug 1817029 - Suggested changes

changelog
- add `reason` for new ping
- update the unit test for the new ping
- add new metrics
- allow for custom salt when hashing the Ad ID
- move the Nimbus check to the lifecycle observer
- record the new metrics

* Bug 1817029 - Update fenix/.experimenter.yaml

Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>

* Bug 1817029 - remove unnecessary pass-through function

* Bug 1817029 - add the GleanTestRule for tests

* Bug 1817029 - Update fenix/app/src/test/java/org/mozilla/fenix/components/metrics/clientdeduplication/ClientDeduplicationPingTest.kt

Co-authored-by: Travis Long <tlong@mozilla.com>

* Bug 1817029 - remove unnecessary call to main thread

* Bug 1817029 - update comment about hashing

---------

Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
Co-authored-by: Travis Long <tlong@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
kycn 0a8baa4914 Bug 1820559 - Remove PlacesStorage maintenance feature flag for enabling the feature to all users.
This feature registers a periodic storage maintenance worker that runs to prune and maintain places db.
1 year ago
Ben Dean-Kawamura 6003d8edd9 [fenix] Don't pass CrashReporter to RustLog
RustLog is no longer using the crash reporter, since crash reports now
go through the `rusterrors` module.
1 year ago
DreVla 1f3439b667 [fenix] Bug 1814410: Unified search migrate to general se after
search engine list loads
1 year ago
jhugman c5975be030 [fenix] Closes EXP-3078 Use Nimbus.fetchExperiments() more intentionally (https://github.com/mozilla-mobile/fenix/pull/28760)
* Add maybeFetchExperiments

* Move fetchExperiments from onCreate to after visual completeness

* Address reviewer comments / ktlint
1 year ago
MatthewTighe 96e95ad1fb [fenix] Bug 1812204 - Add usage growth data event 1 year ago
DreVla 95703b9555 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28111: Filter out topic specific search engines from default list
Since topic specific search engines, like amazon, ebay, etc...
will only show results from those specific websites, they will be filtered
out of the default search engines list.
1 year ago
rahulsainani 115422015e [fenix] Bug 1810114 - Part 2: Move marketingNotificationAllowed metric to FenixApplication 1 year ago
rahulsainani af78546293 [fenix] Bug 1808874 - Add notification pre permission prompt 1 year ago
Zac McKenney c3250f583f [fenix] For bug 1807716: Move engine warmup above Glean initialization to fix crash at launch 1 year ago
rahulsainani dcf71a1719 [fenix] Bug 1804690 - Allow emulator to access network of the host machine sidestepping the TLS error on debug channel 1 year ago
Roger Yang 125be804f5 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/28021: Add ability to opt in to receiving push notifications on Android 13+ devices 1 year ago
Jonathan Almeida a47b4b3c74 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26320: Make Nimbus first-startup comments clear in FenixApplication 2 years ago
James Hugman b05fb742f2 [fenix] Fixes: https://github.com/mozilla-mobile/fenix/issues/26320 Reorganize Nimbus Startup 2 years ago
Roger Yang c49d25911e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27795: Add metrics ping to see if user allows notifications 2 years ago
Gabriel Luong fc0464de97 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26475 - Remove unnecessary features flags 2 years ago
MatthewTighe 7c3c29ee7f [fenix] For 27768: add FirstAppOpenForDay growth data 2 years ago
MatthewTighe 088055743c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27698: add set as default growth data 2 years ago
Gabriel Luong 1ec4cf8dad [fenix] For https://github.com/mozilla-mobile/fenix/issues/27667 - Remove import-ordering from the list of disabled ktlint rules 2 years ago
kycn 4d56ba889d [fenix] Close https://github.com/mozilla-mobile/fenix/issues/7227: Re-enable storage maintenance call.
Re-enable storage maintenance call by introducing WorkManager worker on A-C side and consuming it from Fenix.
The work request is periodic and the repeat interval is 24h. It requires the device to be idle and not to have
low battery. This feature is available only for Nightly for now.
2 years ago
Roger Yang fdaae59999 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27023: Add capability to override telemetry URL 2 years ago
Meiirbek Baimuratov 8d822f9ab1 [fenix] For mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/27282: delete WallpaperManager 2 years ago
Jonathan Almeida 1c6e25af01 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/27077: Load first run experiments synchronously.
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Charlie Humphreys <chumphreys@mozilla.com>
Co-authored-by: jhugman <jhugman@users.noreply.github.com>
2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
Alexandru2909 ed16051b4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
Mugurell 38d0eb7a9a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18175 - Add telemetry for cookies option in custom ETP. 2 years ago
MatthewTighe 346427f73a [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
Jonathan Almeida 4ee1f0ea64 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26041: Remove un-needed Nimbus workaround
This workaround was temporary and is not needed with the Nimbus groovy
plugin updates in Android Components.
2 years ago
Jonathan Almeida 85578e498c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26041: Re-set TrackingProtectionPolicy after Nimbus SDK is initialized
There are three issues here that we have uncovered while investigating
this bug:

 1. Settings.kt has a lazy block around `enabledTotalCookieProtection`
    which ends up caching the first result it evaluates.
 3. The `FeatureHolder` within FxNimbus caches the incorrectly
    evaluated value and returns this value hence forth.
 4. Nimbus is not ready to return a result for an engine experiment
    when we need it early on in the dependency tree initialization.

There are multiple systems that require engine to be initialized for
 them to work (e.g. Glean, Profiler, concept-fetch). In our TCP,
 experiment, we need to apply these engine settings during the engine
 initialization. So when we try and evaluate Nimbus that early on, it
 has not had time to initialize itself correctly or even use the
 engine's concept-fetch client to return the correct experiment result.
 This bug is made worse because of the first two caching bugs where we
 are always holding onto a cached value of the wrong result.

Our temporary solution is to:

 1. Remove the `lazy` around `Settings.enabledTotalCookieProtection`.
 2. Set the `FxNimbus.api` value right after we are done initializing
    `FxNimbus` and `NimbusApi` so that all future queries to FxNimbus
    will be made against a real instance of `NimbusApi`. This is a
    short-term fix for the `FeatureHolder` caching bug.
 3. Set a new TrackingProtectionPolicy that will evaluate Nimbus now
    that it is in the correct state when receive the
    `NimbusInterface.Observer.onUpdatesApplied`.

Co-authored-by: jhugman <jhugman@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2 years ago
Noah Bond 9968708352 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26289 - Remove search term tab groups metrics and setting 2 years ago
Jan-Erik Rediger b03ec61ff5 [fenix] Move startup perf measurements to a background thread
This is required to avoid loading the Glean core library (provided by libxul) early on.
Fenix needs to do the time measurement itself for now.
2 years ago