Control background auto resumption |
||
Issue descriptionWhen a download is in progress and chrome gets killed, we will relaunch the browser process for background resumption. However, things could go viral if chrome got killed again due to OOM and then relaunch itself. Add some controls on this
,
Jun 28 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f9c0e04cb04c53076b464486d84ea0f9bf764698 commit f9c0e04cb04c53076b464486d84ea0f9bf764698 Author: qinmin <qinmin@chromium.org> Date: Tue Jun 28 00:20:56 2016 capping how many times background download resumption can automatically start If download gets interrupted due to browser kill, we schedule a browser restart. And we could stuck in a cycle of kill->restart->kill. This CL caps the number of auto resumptions. And reset the cap when user relaunches chrome. BUG= 623242 Review-Url: https://codereview.chromium.org/2094033002 Cr-Commit-Position: refs/heads/master@{#402340} [modify] https://crrev.com/f9c0e04cb04c53076b464486d84ea0f9bf764698/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java [modify] https://crrev.com/f9c0e04cb04c53076b464486d84ea0f9bf764698/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java [modify] https://crrev.com/f9c0e04cb04c53076b464486d84ea0f9bf764698/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
,
Aug 10 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by krav...@chromium.org
, Jun 27 2016