commit | 53abfdb86c2bf834777dbda61fc46083a93a4a83 | [log] [tgz] |
---|---|---|
author | Matthew Williams <mjwilliams@google.com> | Wed Jun 10 20:06:37 2015 -0700 |
committer | Matthew Williams <mjwilliams@google.com> | Tue Jun 16 14:46:59 2015 -0700 |
tree | 68a08a53c7d1bdea20fdae463db4f18a7c27967b | |
parent | 892850396c21db891df784c0e1bb78115feee908 [diff] |
Make sync settings restore more robust Bug: 18506992 Parent Bug: 17967106 Introduce a new state for ContentResolver#getIsSyncable. This state specifies that an adapter should be disabled until explicitly turned on by ContentResolver#setSyncAutomatically(true). In this way we can restore disabled sync adapters and still allow them to run their initialization logic later on when they are re-enabled. Change-Id: I03fd1f994c4bc982bbc723154ba20bb252efdf80