Fix requiresCharging false value ignored issue
am: e33c3c81af
Change-Id: Ia96915b00e274ed6c7c8fdaea46ee5a0ba83bdcb
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user