commit | 807e4494424fda8ca9345f5e605a02325c2abde1 | [log] [tgz] |
---|---|---|
author | Tyler Saunders <tylersaunders@google.com> | Wed Nov 29 15:34:14 2023 +0000 |
committer | Tyler Saunders <tylersaunders@google.com> | Thu Nov 30 10:00:33 2023 +0000 |
tree | 05cfed41a0484cc9c29927385bab7e7fe3a84f1d | |
parent | 05fe02c4ac36a3731914cc5c4c1f6e44d5986662 [diff] |
Battery optimizations for proactive sync * Only run local syncs in response to MediaProvider file events. * Proactive syncs should only run when the device is charging and idle. Bug: b/311851723 Test: atest PickerSyncManagerTest Change-Id: I6c13d9caabb9602d6f6946f63a33b6a59573ec2d