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 && \