This is the first set of Fenix patches
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.
d58cc9b5e179dd180ce2510134aa551406d89510 we avoid throwing the
IllegalStateException exception when we are in a
DATA_COLLECTION_DISABLED is true (so that exception is thrown only when data collection is enabled).
aa6d757c14a6f5babde2746d1e0d3bfb1e625436 we change the default crash reporter state from "
always enabled" to "only
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.
eaf28c70934e1993abe3afe8d3adb5e9516f1309 we simply disable the background service, for defense-in-depth.