diff --git a/patches/do-not-install-telemetry-extensions.patch b/patches/do-not-install-telemetry-extensions.patch deleted file mode 100644 index 670464fb..00000000 --- a/patches/do-not-install-telemetry-extensions.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt -index 966a527fc9..d28b5f65c6 100644 ---- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt -+++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt -@@ -380,10 +380,6 @@ class Core( - }, - ).updateProviderList() - } -- // Install the "ads" WebExtension to get the links in an partner page. -- adsTelemetry.install(engine, this@apply, providerList) -- // Install the "cookies" WebExtension and tracks user interaction with SERPs. -- searchTelemetry.install(engine, this@apply, providerList) - } - - WebNotificationFeature( diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh index f7b78b73..75d01b08 100755 --- a/scripts/prebuild.sh +++ b/scripts/prebuild.sh @@ -357,9 +357,6 @@ patch -p1 --no-backup-if-mismatch --quiet <"$patches/configure-safe-browsing.pat # Remove default top sites/shortcuts patch -p1 --no-backup-if-mismatch --quiet <"$patches/remove-default-sites.patch" -# By default, Fenix includes 2 hidden web extensions, used exclusively for telemetry: 'ads@mozac.org' & 'cookies@mozac.org' - This prevents installing them... -patch -p1 --no-backup-if-mismatch --quiet <"$patches/do-not-install-telemetry-extensions.patch" - # Ensure we're disabling telemetry at buildtime... patch -p1 --no-backup-if-mismatch --quiet <"$patches/buildtime-disable-telemetry.patch"