зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1486766 - Add installTelemetryInfo to distro addons installed on Firefox for Android. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D5559 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
50f5257561
Коммит
78b36687ad
|
@ -6578,7 +6578,8 @@ var Distribution = {
|
|||
return;
|
||||
}
|
||||
|
||||
AddonManager.getInstallForFile(new FileUtils.File(entry.path)).then(install => {
|
||||
AddonManager.getInstallForFile(new FileUtils.File(entry.path), null,
|
||||
{source: "distribution"}).then(install => {
|
||||
let id = entry.name.substring(0, entry.name.length - 4);
|
||||
if (install.addon.id !== id) {
|
||||
Cu.reportError("File entry " + entry.path + " contains an add-on with an incorrect ID");
|
||||
|
|
Загрузка…
Ссылка в новой задаче