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

Commit 87326e0f authored by Steven Moreland's avatar Steven Moreland
Browse files

NetworkRegistrationInfo: add Parcel recycle

~580 hits on cuttlefish boot

Bug: 139327211
Test: boot w/ Parcel.java DEBUG_RECYCLE
Change-Id: I20b7c8865c3ab1f562dfa9f19039f08cef8f0f7d
parent 7e69b0a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -344,6 +344,7 @@ public final class NetworkRegistrationInfo implements Parcelable {
            // TODO: Instead of doing this, we should create a formal way for cloning cell identity.
            // Cell identity is not an immutable object so we have to deep copy it.
            mCellIdentity = CellIdentity.CREATOR.createFromParcel(p);
            p.recycle();
        }

        if (nri.mVoiceSpecificInfo != null) {