mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Revert behavior for gonk - Bug 1149276. r=spohl, a=RyanVM
This commit is contained in:
parent
86aee22968
commit
74ebd50763
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user