Merge "NetworkRegistrationInfo: add Parcel recycle"

This commit is contained in:
Treehugger Robot
2021-02-03 18:31:07 +00:00
committed by Gerrit Code Review

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