Merge "NetworkRegistrationInfo: add Parcel recycle" am: 9b899f7253 am: fbfe84846e am: 6d47e1ade5

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1804f92b9385ae2cf811b09faa24e68715e98880
This commit is contained in:
Treehugger Robot
2021-02-03 20:19:11 +00:00
committed by Automerger Merge Worker

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