NetworkRegistrationInfo: add Parcel recycle

~580 hits on cuttlefish boot

Bug: 139327211
Test: boot w/ Parcel.java DEBUG_RECYCLE
Change-Id: I20b7c8865c3ab1f562dfa9f19039f08cef8f0f7d
This commit is contained in:
Steven Moreland
2021-02-02 02:18:56 +00:00
parent 7e69b0a93d
commit 87326e0f88

View File

@@ -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) {