Now Browser Actions calls OfflinePageBridge.savePageLater to download a url and lets OfflinePage itself to manage the life cycle of the Download service. It also immediately dismisses the spinning ProgressDialog and Activity.
The more descent way to handle this should be having a callback from OfflinePage to release the download service. And also it could be used to dismiss the ProgressDialog and BrowserActionsActivity.
Comment 1 by chili@chromium.org
, Nov 2 2017