From f62b80fa1ba6b0a4cf5996655812bca79ff6c49e Mon Sep 17 00:00:00 2001 From: Cynthia Wong <> Date: Tue, 7 Apr 2009 17:24:14 -0700 Subject: [PATCH] AI 144928: Make the uphill discarding ops functionality controllable via a Gservices flag BUG=1725022 Automated import of CL 144928 --- core/java/android/provider/Settings.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index d7d7c2ed97922..3fb46ed75a6e3 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2442,6 +2442,12 @@ public final class Settings { */ public static final String GMAIL_BUFFER_SERVER_RESPONSE = "gmail_buffer_server_response"; + /** + * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be + * an integer where non-zero means true. Defaults to 1. + */ + public static final String GMAIL_DISCARD_ERROR_UPHILL_OP = "gmail_discard_error_uphill_op"; + /** * Hostname of the GTalk server. */