Lower the retry count in download fetcher if the update is interactive.

Retrying 20 times could take a very long time, which we don't want in
an interactive update.

Bug: 70722687
Test: only retried 3 times
Change-Id: Ic9551ab3f3603a299cda0caa961e5e4109bb05b8
(cherry picked from commit d77408d2a75c31ab0541f3a23a3ccad1092ffd77)
diff --git a/update_attempter.cc b/update_attempter.cc
index d955c7f..cc9cb8f 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -619,6 +619,8 @@
   LibcurlHttpFetcher* download_fetcher =
       new LibcurlHttpFetcher(GetProxyResolver(), system_state_->hardware());
   download_fetcher->set_server_to_check(ServerToCheck::kDownload);
+  if (interactive)
+    download_fetcher->set_max_retry_count(kDownloadMaxRetryCountInteractive);
   shared_ptr<DownloadAction> download_action(
       new DownloadAction(prefs_,
                          system_state_->boot_control(),