From 85427f71a410e7165c11598ed41eaaa75b8d6acd Mon Sep 17 00:00:00 2001 From: Cynthia Wong Date: Wed, 10 Jun 2009 14:42:42 -0700 Subject: Add a gservices flag to limit the size of protobufs we can gzip --- core/java/android/provider/Settings.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/java/android/provider') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 5f38316..52cec22 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2491,6 +2491,12 @@ public final class Settings { public static final String GMAIL_BUFFER_SERVER_RESPONSE = "gmail_buffer_server_response"; /** + * The maximum size in bytes allowed for the provider to gzip a protocol buffer uploaded to + * the server. + */ + public static final String GMAIL_MAX_GZIP_SIZE = "gmail_max_gzip_size_bytes"; + + /** * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be * an integer where non-zero means true. Defaults to 1. */ -- cgit v1.1