Merge "Fix a regression in sync manager" into nyc-mr1-dev

This commit is contained in:
Svetoslav Ganov
2016-08-25 23:14:22 +00:00
committed by Android (Google) Code Review

View File

@@ -2853,9 +2853,9 @@ public class SyncManager {
}
return SYNC_OP_STATE_INVALID_NO_ACCOUNT_ACCESS;
}
if (state != AuthorityInfo.SYNCABLE) {
if (state == AuthorityInfo.NOT_SYNCABLE) {
if (isLoggable) {
Slog.v(TAG, " Dropping sync operation: isSyncable != SYNCABLE");
Slog.v(TAG, " Dropping sync operation: isSyncable == NOT_SYNCABLE");
}
return SYNC_OP_STATE_INVALID;
}