Revert behavior for gonk - Bug 1149276. r=spohl, a=RyanVM

This commit is contained in:
Robert Strong 2015-04-17 12:46:58 -07:00
parent 86aee22968
commit 74ebd50763

View File

@ -660,8 +660,10 @@ function getCanStageUpdates() {
// For Gonk, the updater will remount the /system partition to move staged
// files into place.
if (AppConstants.platform == "gonk") {
LOG("getCanStageUpdates - able to stage updates because this is gonk");
return true;
if (getPref("getBoolPref", PREF_APP_UPDATE_SERVICE_ENABLED, false)) {
LOG("getCanStageUpdates - able to stage updates because this is gonk");
return true;
}
}
if (!hasUpdateMutex()) {