Bug 1254550 - Make Telemetry configuration consistent across builds. r=gfritzsche, a=lizzard

This commit is contained in:
Alessio Placitelli 2016-03-11 06:31:00 +01:00
parent 85af2a77f3
commit 8654db7493
2 changed files with 3 additions and 3 deletions

View File

@ -3361,7 +3361,7 @@ TelemetryImpl::CanRecordExtended() {
NS_IMETHODIMP
TelemetryImpl::GetIsOfficialTelemetry(bool *ret) {
#if defined(MOZILLA_OFFICIAL) && defined(MOZ_TELEMETRY_REPORTING)
#if defined(MOZILLA_OFFICIAL) && defined(MOZ_TELEMETRY_REPORTING) && !defined(DEBUG)
*ret = true;
#else
*ret = false;

View File

@ -280,8 +280,8 @@ interface nsITelemetry : nsISupports
/**
* A flag indicating whether Telemetry can submit official results (for base or extended
* data). This is true on official builds with built in support for Mozilla Telemetry
* reporting.
* data). This is true on official, non-debug builds with built in support for Mozilla
* Telemetry reporting.
*/
readonly attribute boolean isOfficialTelemetry;