mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall
This commit is contained in:
parent
87d69c9432
commit
7167becd52
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user