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

Commit aa3975f0 authored by Ján Sebechlebský's avatar Ján Sebechlebský Committed by Automerger Merge Worker
Browse files

Merge "Do not preallocate memory in default constructor of {Int,Long}Array"...

Merge "Do not preallocate memory in default constructor of {Int,Long}Array" into udc-dev am: 8d6d3a53

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22675141



Change-Id: Ic90abaf5ab351c34b1703e03cc729803236a4413
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 02feb3b2 8d6d3a53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ public class IntArray implements Cloneable {
     * Creates an empty IntArray with the default initial capacity.
     */
    public IntArray() {
        this(10);
        this(0);
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ public class LongArray implements Cloneable {
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    public LongArray() {
        this(10);
        this(0);
    }

    /**