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

Commit 7485319e authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Remove erroneous parameter to fix buildDiffWrapper

In ag/828480, RawContactDelta.buildDiffWrapper() was created by copying
buildDiff() in the same class. The parameter "firstIndex" was copied by
mistake and has been removed in this CL.

Bug 25629359

Change-Id: Ibf6bd2414148b5cdcf4cf3002bc8d32daa234e31
parent 93ea7280
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -585,7 +585,7 @@ public class RawContactDelta implements Parcelable {

            // Restore aggregation mode as last operation
            builder = buildSetAggregationMode(beforeId, RawContacts.AGGREGATION_MODE_DEFAULT);
            buildInto.add(firstIndex, new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE));
            buildInto.add(new CPOWrapper(builder.build(), CompatUtils.TYPE_UPDATE));
        } else if (isContactInsert) {
            // Restore aggregation mode as last operation
            Builder builder = ContentProviderOperation.newUpdate(mContactsQueryUri);