Merge "Deep copy service state object" am: d3f9cdd5be am: 59622faba3

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

Change-Id: I0dd648828054131fb67b0c4544b2a4098bee886c
This commit is contained in:
Treehugger Robot
2021-09-10 22:07:37 +00:00
committed by Automerger Merge Worker

View File

@@ -444,7 +444,9 @@ public class ServiceState implements Parcelable {
mArfcnRsrpBoost = s.mArfcnRsrpBoost;
synchronized (mNetworkRegistrationInfos) {
mNetworkRegistrationInfos.clear();
mNetworkRegistrationInfos.addAll(s.getNetworkRegistrationInfoList());
for (NetworkRegistrationInfo nri : s.getNetworkRegistrationInfoList()) {
mNetworkRegistrationInfos.add(new NetworkRegistrationInfo(nri));
}
}
mNrFrequencyRange = s.mNrFrequencyRange;
mOperatorAlphaLongRaw = s.mOperatorAlphaLongRaw;