android_packages_modules_Co.../networksecurity/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sandro Montanari b7c4c84a37 Prevent duplicate downloads in DownloadHelper
This change modifies `DownloadHelper` to check if a URL is already
scheduled for download (in pending, running, or paused status) before
enqueuing a new request. If a download for the same URL is found, the
existing download ID is returned, avoiding redundant requests to the
`DownloadManager`.

Bug: 437217681
Test: atest NetworkSecurityUnitTests
Flag: EXEMPT BUGFIX
Change-Id: I64dd5473b4fdb23241f5e2503c65cb64db56617c
2025-08-29 01:02:47 -07:00
..
src/com/android/server/net/ct Prevent duplicate downloads in DownloadHelper 2025-08-29 01:02:47 -07:00
Android.bp Add NetworkSecurityUnitTests to tethering-mainline-presubmit 2025-03-11 12:05:53 +00:00
AndroidManifest.xml Schedule log list download on flag update 2024-08-21 10:18:00 +00:00
AndroidTest.xml Add NetworkSecurityUnitTests to tethering-mainline-presubmit 2025-03-11 12:05:53 +00:00