diff options
| author | Cynthia Wong <cynthiaw@google.com> | 2009-06-10 14:42:42 -0700 |
|---|---|---|
| committer | Cynthia Wong <cynthiaw@google.com> | 2009-06-10 14:51:19 -0700 |
| commit | 85427f71a410e7165c11598ed41eaaa75b8d6acd (patch) | |
| tree | aa4a0b1aaaedde419e06cc8165b7312856832286 /core | |
| parent | 0e7cf6366b657498e51b7c7a433b80cfb83152cb (diff) | |
| download | frameworks_base-85427f71a410e7165c11598ed41eaaa75b8d6acd.zip frameworks_base-85427f71a410e7165c11598ed41eaaa75b8d6acd.tar.gz frameworks_base-85427f71a410e7165c11598ed41eaaa75b8d6acd.tar.bz2 | |
Add a gservices flag to limit the size of protobufs we can gzip
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/provider/Settings.java | 6 |
1 files changed, 6 insertions, 0 deletions
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. */ |
