Merge "Fix requiresCharging false value ignored issue" into nyc-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f47b9cf1c1
@@ -351,7 +351,7 @@ public class SyncRequest implements Parcelable {
|
|||||||
* @param requiresCharging true if sync requires the phone to be plugged in. Default false.
|
* @param requiresCharging true if sync requires the phone to be plugged in. Default false.
|
||||||
*/
|
*/
|
||||||
public Builder setRequiresCharging(boolean requiresCharging) {
|
public Builder setRequiresCharging(boolean requiresCharging) {
|
||||||
mRequiresCharging = true;
|
mRequiresCharging = requiresCharging;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user