mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 03:27:31 +09:00
Issue #1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules
This commit is contained in:
parent
f38c12f0b4
commit
f5579fc786
3 changed files with 3 additions and 3 deletions
|
|
@ -365,7 +365,7 @@ var Impl = {
|
||||||
|
|
||||||
let updateChannel = null;
|
let updateChannel = null;
|
||||||
try {
|
try {
|
||||||
updateChannel = UpdateUtils.getUpdateChannel(false);
|
updateChannel = UpdateUtils.UpdateChannel;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this._log.trace("_getApplicationSection - Unable to get update channel.", e);
|
this._log.trace("_getApplicationSection - Unable to get update channel.", e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1106,7 +1106,7 @@ EnvironmentCache.prototype = {
|
||||||
_updateSettings: function () {
|
_updateSettings: function () {
|
||||||
let updateChannel = null;
|
let updateChannel = null;
|
||||||
try {
|
try {
|
||||||
updateChannel = UpdateUtils.getUpdateChannel(false);
|
updateChannel = UpdateUtils.UpdateChannel;
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
|
||||||
this._currentEnvironment.settings = {
|
this._currentEnvironment.settings = {
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ var TelemetryReportingPolicyImpl = {
|
||||||
// use the general minimum policy version.
|
// use the general minimum policy version.
|
||||||
let channel = "";
|
let channel = "";
|
||||||
try {
|
try {
|
||||||
channel = UpdateUtils.getUpdateChannel(false);
|
channel = UpdateUtils.UpdateChannel;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this._log.error("minimumPolicyVersion - Unable to retrieve the current channel.");
|
this._log.error("minimumPolicyVersion - Unable to retrieve the current channel.");
|
||||||
return minPolicyVersion;
|
return minPolicyVersion;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue