Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 732140ce authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7948 into donut

* changes:
  Fix updates from read-only calendar.
parents 592f1a65 c1f28367
Loading
Loading
Loading
Loading
+26 −23
Original line number Diff line number Diff line
@@ -369,10 +369,8 @@ public abstract class AbstractTableMerger
                // An existing server item has changed
                // If serverSyncVersion is null, there is no edit URL;
                // server won't let this change be written.
                // Just hold onto it, I guess, in case the server permissions
                // change later.
                if (serverSyncVersion != null) {
                boolean recordChanged = (localSyncVersion == null) ||
                        (serverSyncVersion == null) ||
                        !serverSyncVersion.equals(localSyncVersion);
                if (recordChanged) {
                    if (localSyncDirty) {
@@ -393,6 +391,11 @@ public abstract class AbstractTableMerger
                        }
                        update = true;
                    }
                } else {
                    if (Log.isLoggable(TAG, Log.VERBOSE)) {
                        Log.v(TAG,
                                "Skipping update: localSyncVersion: " + localSyncVersion +
                                ", serverSyncVersion: " + serverSyncVersion);
                    }
                }
            } else {