commit | e33c3c81af36c6a92f164b6d4fd47fc9db8aded0 | [log] [tgz] |
---|---|---|
author | Shreyas Basarge <snb@google.com> | Mon Feb 06 17:46:26 2017 +0000 |
committer | Shreyas Basarge <snb@google.com> | Mon Feb 06 20:11:42 2017 +0000 |
tree | a1fd9aa2007be712c869f72c5e99c531d39a4e2e | |
parent | a09e108f652f45e9c34bc73160414d7b87c99881 [diff] |
Fix requiresCharging false value ignored issue If a SyncRequest builder is used to create a sync request and setRequiresCharging(bool) is used, the sync request requires charging irrespective of the boolean value provided. This cl fixes the issue. Bug: 35027396 Test: Tested manually by looking for the charging bit in jobscheduler dumpsys. Change-Id: I8f642597a64b8964665f41f5ce9ca71529634069 (cherry picked from commit 3a147230a4813ab8438699e9d997e922ad72f368)