From 7167becd52bf1d1fa72c6c456d43ba6193069114 Mon Sep 17 00:00:00 2001 From: Robert Strong Date: Tue, 21 Apr 2015 17:47:57 -0700 Subject: [PATCH] Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall --- toolkit/mozapps/update/nsUpdateService.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/toolkit/mozapps/update/nsUpdateService.js b/toolkit/mozapps/update/nsUpdateService.js index a835eb6169f5..645eee287176 100644 --- a/toolkit/mozapps/update/nsUpdateService.js +++ b/toolkit/mozapps/update/nsUpdateService.js @@ -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()) {