Merge "NetworkRegistrationInfo: add Parcel recycle" am: 9b899f7253 am: fbfe84846e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569100 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I09bbf36ee9b527fc610f01e557d44ed5c1d3df1b
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user