mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
backout of bug 1161579 - blocking smoketests. a=RyanVM
This commit is contained in:
parent
6e929ef81c
commit
16141b0b23
@ -3496,15 +3496,10 @@ Checker.prototype = {
|
|||||||
if (AppConstants.platform == "gonk") {
|
if (AppConstants.platform == "gonk") {
|
||||||
let sysLibs = {};
|
let sysLibs = {};
|
||||||
Cu.import("resource://gre/modules/systemlibs.js", sysLibs);
|
Cu.import("resource://gre/modules/systemlibs.js", sysLibs);
|
||||||
let productDevice = sysLibs.libcutils.property_get("ro.product.device");
|
|
||||||
let buildType = sysLibs.libcutils.property_get("ro.build.type");
|
|
||||||
url = url.replace(/%PRODUCT_MODEL%/g,
|
url = url.replace(/%PRODUCT_MODEL%/g,
|
||||||
sysLibs.libcutils.property_get("ro.product.model"));
|
sysLibs.libcutils.property_get("ro.product.model"));
|
||||||
if (buildType == "user") {
|
url = url.replace(/%PRODUCT_DEVICE%/g,
|
||||||
url = url.replace(/%PRODUCT_DEVICE%/g, productDevice);
|
sysLibs.libcutils.property_get("ro.product.device"));
|
||||||
} else {
|
|
||||||
url = url.replace(/%PRODUCT_DEVICE%/g, productDevice + "-" + buildType);
|
|
||||||
}
|
|
||||||
url = url.replace(/%B2G_VERSION%/g,
|
url = url.replace(/%B2G_VERSION%/g,
|
||||||
getPref("getCharPref", PREF_APP_B2G_VERSION, null));
|
getPref("getCharPref", PREF_APP_B2G_VERSION, null));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user