Bug 33594 05 80.0b6
This is the first set of Fenix patches
In b67e786f16b29c5c2188173a8c2b20d46719e5d5
we define a new compile-time constant for DATA_COLLECTION_DISABLED
. This constant is used in the code for setting the default value of telemetry being enabled/disabled. I am hoping this patch is a reasonable starting place for uplifting.
In d58cc9b5e179dd180ce2510134aa551406d89510
we avoid throwing the IllegalStateException
exception when we are in a Release
and DATA_COLLECTION_DISABLED
is true (so that exception is thrown only when data collection is enabled).
In aa6d757c14a6f5babde2746d1e0d3bfb1e625436
we change the default crash reporter state from "always enabled
" to "only enabled
if DATA_COLLECTION_DISABLED
is false
".
In 695bc630de6e97a1a66233da7b3db7d14125d898
we rip out the Google Advertising ID support. Adding the @Suppress("UNUSED_PARAMETER")
annotation is important because the compiler errors when a method's signature contains an unused parameter.
In eaf28c70934e1993abe3afe8d3adb5e9516f1309
we simply disable the background service, for defense-in-depth.
Closes #33594 (closed) #40019 (closed) android-components#34338 (closed) #40014 (closed) #40018 (closed)