Increase timeout for domains with many DNS entries.
Jeff Sharkey [Thu, 21 Mar 2013 00:03:48 +0000 (17:03 -0700)]
Bug: 8233041
Change-Id: Ifb70273474c391ef687ba018d9ef809a359c7149

src/com/android/providers/downloads/DownloadService.java

index d6ed9d6..0764109 100644 (file)
@@ -16,7 +16,7 @@
 
 package com.android.providers.downloads;
 
-import static android.text.format.DateUtils.SECOND_IN_MILLIS;
+import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
 import static com.android.providers.downloads.Constants.TAG;
 
 import android.app.AlarmManager;
@@ -210,7 +210,7 @@ public class DownloadService extends Service {
         mUpdateHandler.removeMessages(MSG_FINAL_UPDATE);
         mUpdateHandler.sendMessageDelayed(
                 mUpdateHandler.obtainMessage(MSG_FINAL_UPDATE, mLastStartId, -1),
-                90 * SECOND_IN_MILLIS);
+                5 * MINUTE_IN_MILLIS);
     }
 
     private static final int MSG_UPDATE = 1;