Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall

This commit is contained in:
Robert Strong 2015-04-21 17:47:57 -07:00
parent 60efcc2540
commit 8e8eb311fb

View File

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