[AW NS] Avoid redundant onDownloadStart callbacks when network service is disabled.
When the network service is disabled the Android WebView's DownloadListener.onDownloadStart() callback gets executed twice for the same url. This is due to the new code path (via AwDownloadManagerDelegate) which is intended to be executed when the network service is enabled is also run when it is disabled. This patch ensures that the new code path only runs when the network service is enabled. BUG=961264,841556 Change-Id: Ieec4a330d9d04173cf12ba23c90d9c37df08af47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638526Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Commit-Queue: Tim Volodine <timvolodine@chromium.org> Cr-Commit-Position: refs/heads/master@{#665529}
Showing
Please register or sign in to comment