From d3af175e126b3702238d7537615936e295327318 Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Wed, 1 Jul 2015 22:04:53 +0200 Subject: [PATCH] Fennec F-Droid: Try to disable HealthReporter --- metadata/org.mozilla.fennec_fdroid.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/metadata/org.mozilla.fennec_fdroid.txt b/metadata/org.mozilla.fennec_fdroid.txt index 70aecb8094..a1a27a7c48 100644 --- a/metadata/org.mozilla.fennec_fdroid.txt +++ b/metadata/org.mozilla.fennec_fdroid.txt @@ -1278,7 +1278,10 @@ Build:39.0,390000 echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \ echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \ sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \ - echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js + echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js && \ + echo "==HEALTHREPORTER==" && \ + sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \ + sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml build=./mach build && \ fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \ pushd obj-${fxarch}/mobile/android/locales && \ @@ -1398,7 +1401,10 @@ Build:39.0,390010 echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \ echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \ sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \ - echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js + echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js && \ + echo "==HEALTHREPORTER==" && \ + sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \ + sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml build=./mach build && \ fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \ pushd obj-${fxarch}/mobile/android/locales && \