summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-09-16 14:16:47 -0400
committer Android (Google) Code Review <android-gerrit@google.com> 2009-09-16 14:16:47 -0400
commitf5a5f04550fb0d7399b8bfbb4976e0ec3b718dd8 (patch)
treeede0735d531fa74a1390bb66a74b886130feb2ba
parent0abc859e14fe557479cab490493e64ca6ab05e6e (diff)
parentcac138274c45b49a91e1d28cce44faa02d37906e (diff)
Merge change 25296 into eclair
* changes: Add new Gservices setting for discarding uphill ops for eclair and future devices.
-rw-r--r--core/java/android/provider/Settings.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 0bbd1fc57f20..6d0309509776 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -2758,11 +2758,19 @@ 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.
*/