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

Commit f5a5f045 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 25296 into eclair

* changes:
  Add new Gservices setting for discarding uphill ops for eclair and future devices.
parents 0abc859e cac13827
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.