diff options
| author | 2021-02-03 19:36:06 +0000 | |
|---|---|---|
| committer | 2021-02-03 19:36:06 +0000 | |
| commit | fbfe84846e483b231e6531706750f0ceecf6ec4f (patch) | |
| tree | db31056bc763dcbb229ea67ec2e59ded81e641a0 | |
| parent | f69aecc91a0c63d25be7ef2d615ec1aeac2284e2 (diff) | |
| parent | 9b899f725393ab67284cdfa5f9109491c798cfc2 (diff) | |
Merge "NetworkRegistrationInfo: add Parcel recycle" am: 9b899f7253
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569100
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I46c1b1f79926e999deec5639c4e2a18f973e854b
| -rw-r--r-- | telephony/java/android/telephony/NetworkRegistrationInfo.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/NetworkRegistrationInfo.java b/telephony/java/android/telephony/NetworkRegistrationInfo.java index 8507d8512a5c..706e3cb93a0f 100644 --- a/telephony/java/android/telephony/NetworkRegistrationInfo.java +++ b/telephony/java/android/telephony/NetworkRegistrationInfo.java @@ -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) { |