Index: chrome/android/java/AndroidManifest.xml |
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml |
index b21f383843ea300c1ff7495f9142b1e2034eedb8..97a67aa051af5e13b118c671d6e1c462052920be 100644 |
--- a/chrome/android/java/AndroidManifest.xml |
+++ b/chrome/android/java/AndroidManifest.xml |
@@ -642,6 +642,17 @@ android:value="true" /> |
android:exported="false" /> |
{% endfor %} |
+ <!-- Background download process, it may outlive chrome if download does not finish |
+ when user kills chrome. Once created, the process will manage its own lifecycle. |
+ To work around an issue in earlier android versions that a bound service will |
+ get killed when chrome goes away, this service will only communicate with the |
+ browser process through callbacks. --> |
+ <service android:name="org.chromium.content.app.DownloadProcessService" |
+ android:process=":download" |
+ android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" |
+ android:isolatedProcess="false" |
+ android:exported="false"/> |
+ |
<receiver android:name="org.chromium.chrome.browser.download.DownloadBroadcastReceiver" |
android:exported="false"> |
<intent-filter> |