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

Commit cac13827 authored by Cynthia Wong's avatar Cynthia Wong
Browse files

Add new Gservices setting for discarding uphill ops for eclair and future devices.

parent de88c515
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -2758,10 +2758,18 @@ public final class Settings {

        /**
         * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be
         * an integer where non-zero means true. Defaults to 1.
         * an integer where non-zero means true. Defaults to 1. This flag controls Donut devices.
         */
        public static final String GMAIL_DISCARD_ERROR_UPHILL_OP = "gmail_discard_error_uphill_op";

        /**
         * Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be
         * an integer where non-zero means true. Defaults to 1. This flag controls Eclair and
         * future devices.
         */
        public static final String GMAIL_DISCARD_ERROR_UPHILL_OP_NEW =
            "gmail_discard_error_uphill_op_new";

        /**
         * Controls how many attempts Gmail will try to upload an uphill operations before it
         * abandons the operation. Defaults to 20.