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

Commit faf365dd authored by Shreyas Basarge's avatar Shreyas Basarge Committed by android-build-merger
Browse files

Fix requiresCharging false value ignored issue

am: e33c3c81

Change-Id: Ia96915b00e274ed6c7c8fdaea46ee5a0ba83bdcb
parents 5e4c6a67 e33c3c81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ public class SyncRequest implements Parcelable {
         * @param requiresCharging true if sync requires the phone to be plugged in. Default false.
         */
        public Builder setRequiresCharging(boolean requiresCharging) {
            mRequiresCharging = true;
            mRequiresCharging = requiresCharging;
            return this;
        }