Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85427f71 authored by Cynthia Wong's avatar Cynthia Wong
Browse files

Add a gservices flag to limit the size of protobufs we can gzip

parent 0e7cf636
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2490,6 +2490,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.