From 278a802dcd5d5454143127d0d59a6eb0ba96ecc7 Mon Sep 17 00:00:00 2001 From: Cynthia Wong Date: Fri, 10 Jul 2009 13:27:03 -0700 Subject: [PATCH] Add a Gservices setting to control if we send up multipart protocol buffers --- 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 6ed1ac8df3739..bf6003e20ca41 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2691,6 +2691,12 @@ public final class Settings { */ public static final String GMAIL_NUM_RETRY_UPHILL_OP = "gmail_discard_error_uphill_op"; + /** + * Controls if the protocol buffer version of the protocol will use a multipart request for + * attachment uploads. Value must be an integer where non-zero means true. Defaults to 0. + */ + public static final String GMAIL_USE_MULTIPART_PROTOBUF = "gmail_use_multipart_protobuf"; + /** * the transcoder URL for mobile devices. */