commit | 2c548e0e11436b2dca2e45d9a80ac545d647a3ca | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Fri Apr 01 17:47:28 2016 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Thu Apr 07 13:42:33 2016 +0100 |
tree | 0b09d31c418085c70f3ae2b85e268a28bda5bafc | |
parent | 8da25ef74afaa63e1ba2814f219c0d0bac2abf7e [diff] |
Only cancel syncs for non-existent accounts updateRunningAccountsH() should check syncs against all accounts on the device, not only running accounts. Also add code to restore wrongly-canceled periodic syncs, saving users from a bad state where the only alternative is to remove and readd affected accounts. Bug: 27733283 Change-Id: I96bce87571c3b7c6cd1934cc967f11257f891f55