make syncadapter set whether the account is syncable
This commit is contained in:
parent
2bd6302554
commit
4c19543c8c
@ -25,7 +25,9 @@
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
||||
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
||||
|
||||
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
||||
|
||||
<!-- For EAS purposes; could be removed when EAS has a permanent home -->
|
||||
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
||||
|
||||
|
@ -49,7 +49,7 @@ public class ContactsSyncAdapterService extends Service {
|
||||
|
||||
private class SyncAdapterImpl extends AbstractThreadedSyncAdapter {
|
||||
public SyncAdapterImpl() {
|
||||
super(ContactsSyncAdapterService.this);
|
||||
super(ContactsSyncAdapterService.this, true /* autoInitialize */);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user