From cac138274c45b49a91e1d28cce44faa02d37906e Mon Sep 17 00:00:00 2001 From: Cynthia Wong Date: Wed, 16 Sep 2009 10:47:42 -0700 Subject: [PATCH] Add new Gservices setting for discarding uphill ops for eclair and future devices. --- core/java/android/provider/Settings.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 0bbd1fc57f209..6d03095097760 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2758,10 +2758,18 @@ public final class Settings { /** * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be - * an integer where non-zero means true. Defaults to 1. + * an integer where non-zero means true. Defaults to 1. This flag controls Donut devices. */ public static final String GMAIL_DISCARD_ERROR_UPHILL_OP = "gmail_discard_error_uphill_op"; + /** + * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be + * an integer where non-zero means true. Defaults to 1. This flag controls Eclair and + * future devices. + */ + public static final String GMAIL_DISCARD_ERROR_UPHILL_OP_NEW = + "gmail_discard_error_uphill_op_new"; + /** * Controls how many attempts Gmail will try to upload an uphill operations before it * abandons the operation. Defaults to 20.