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

Commit 661bbba8 authored by Songchun Fan's avatar Songchun Fan Committed by Automerger Merge Worker
Browse files

[snapshot] optimizing WatchedArrayList snapshot am: d5c4c550

parents d787d17d d5c4c550
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ public class WatchedArrayList<E> extends WatchableImpl
        dst.mStorage.ensureCapacity(end);
        for (int i = 0; i < end; i++) {
            final E val = Snapshots.maybeSnapshot(src.get(i));
            dst.add(i, val);
            dst.add(val);
        }
        dst.seal();
    }