зеркало из https://github.com/mozilla/gecko-dev.git
Bug 871440: bypass offline for both B2G emulator ARM & x86. r=jgriffin
This commit is contained in:
Родитель
86c2e45a3e
Коммит
738374889c
|
@ -48,9 +48,11 @@ try {
|
|||
return libcutils;
|
||||
});
|
||||
if (libcutils) {
|
||||
let qemu = libcutils.property_get("ro.kernel.qemu");
|
||||
logger.info("B2G emulator: " + (qemu == "1" ? "yes" : "no"));
|
||||
let platform = libcutils.property_get("ro.product.device");
|
||||
logger.info("Platform detected is " + platform);
|
||||
bypassOffline = (platform == "generic" || platform == "panda");
|
||||
bypassOffline = (qemu == "1" || platform == "panda");
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче