mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 762590 - don't send test pings at idle when !Telemetry.canSend; r=taras
This commit is contained in:
parent
02f5ed68a3
commit
b4874f5256
@ -749,10 +749,12 @@ TelemetryPing.prototype = {
|
||||
idleService.removeIdleObserver(this, IDLE_TIMEOUT_SECONDS);
|
||||
this._isIdleObserver = false;
|
||||
}
|
||||
reason = (Telemetry.canSend && aTopic == "idle"
|
||||
? "idle-daily"
|
||||
: "test-ping");
|
||||
this.send(reason, server);
|
||||
if (aTopic == "test-ping") {
|
||||
this.send("test-ping", server);
|
||||
}
|
||||
else if (Telemetry.canSend && aTopic == "idle") {
|
||||
this.send("idle-daily", server);
|
||||
}
|
||||
break;
|
||||
case "quit-application-granted":
|
||||
Telemetry.saveHistograms(this.savedHistogramsFile(),
|
||||
|
Loading…
Reference in New Issue
Block a user