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

Commit 8ad7fbae authored by Scott Kennedy's avatar Scott Kennedy
Browse files

Specify the size of the Map in the constructor

Change-Id: Ie3325f387cec72216cb70c1b764370e6f3dd1a3e
parent 78421f90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ public final class Bundle implements Parcelable, Cloneable {
            return;
        }
        if (mMap == null) {
            mMap = new HashMap<String, Object>();
            mMap = new HashMap<String, Object>(N);
        }
        mParcelledData.readMapInternal(mMap, N, mClassLoader);
        mParcelledData.recycle();