mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923237 - Updater should immediately apply update when downloaded manually. r=snorp
This commit is contained in:
parent
109a3ede27
commit
fea40eb2d5
@ -122,7 +122,8 @@ public class UpdateService extends IntentService {
|
||||
// Use this instead for forcing a download from about:fennec
|
||||
// startUpdate(UpdateServiceHelper.FLAG_FORCE_DOWNLOAD | UpdateServiceHelper.FLAG_REINSTALL);
|
||||
} else if (UpdateServiceHelper.ACTION_DOWNLOAD_UPDATE.equals(intent.getAction())) {
|
||||
// We always want to do the download here
|
||||
// We always want to do the download and apply it here
|
||||
mApplyImmediately = true;
|
||||
startUpdate(UpdateServiceHelper.FLAG_FORCE_DOWNLOAD);
|
||||
} else if (UpdateServiceHelper.ACTION_APPLY_UPDATE.equals(intent.getAction())) {
|
||||
applyUpdate(intent.getStringExtra(UpdateServiceHelper.EXTRA_PACKAGE_PATH_NAME));
|
||||
|
Loading…
Reference in New Issue
Block a user