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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user