Merge "Fix a regression in sync manager am: dfed1c73ec am: a09f3790ac" into nyc-mr1-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2016-08-26 01:09:42 +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; return SYNC_OP_STATE_INVALID_NO_ACCOUNT_ACCESS;
} }
if (state != AuthorityInfo.SYNCABLE) { if (state == AuthorityInfo.NOT_SYNCABLE) {
if (isLoggable) { if (isLoggable) {
Slog.v(TAG, " Dropping sync operation: isSyncable != SYNCABLE"); Slog.v(TAG, " Dropping sync operation: isSyncable == NOT_SYNCABLE");
} }
return SYNC_OP_STATE_INVALID; return SYNC_OP_STATE_INVALID;
} }