From 0d54b02b75dc2f6a4a35b583258692621e7372ce Mon Sep 17 00:00:00 2001 From: Cynthia Wong Date: Mon, 10 Aug 2009 16:39:36 -0700 Subject: [PATCH] Add a new setting for controling how much time to wait before discarding uphill operations --- core/java/android/provider/Settings.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 7e3f3c2192edc..cf26b1bf08f9d 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2728,7 +2728,14 @@ public final class Settings { * Controls how many attempts Gmail will try to upload an uphill operations before it * abandons the operation. Defaults to 20. */ - public static final String GMAIL_NUM_RETRY_UPHILL_OP = "gmail_discard_error_uphill_op"; + public static final String GMAIL_NUM_RETRY_UPHILL_OP = "gmail_num_retry_uphill_op"; + + /** + * How much time in seconds Gmail will try to upload an uphill operations before it + * abandons the operation. Defaults to 36400 (one day). + */ + public static final String GMAIL_WAIT_TIME_RETRY_UPHILL_OP = + "gmail_wait_time_retry_uphill_op"; /** * Controls if the protocol buffer version of the protocol will use a multipart request for