diff options
author | Anil Muthineni <anilmuthineni@google.com> | 2015-06-26 16:31:00 -0700 |
---|---|---|
committer | Anil Muthineni <anilmuthineni@google.com> | 2015-06-26 16:31:00 -0700 |
commit | 554beb58dbfb0eccf4304fd5c58b0e2a9331bf27 (patch) | |
tree | 3f7e220aec6a94cc111a44a62ec3f01d12ec5aba /telephony/java/com/android | |
parent | 450176c52cb42d77764b6cacb7988fa8a6ebfde4 (diff) | |
download | frameworks_base-554beb58dbfb0eccf4304fd5c58b0e2a9331bf27.zip frameworks_base-554beb58dbfb0eccf4304fd5c58b0e2a9331bf27.tar.gz frameworks_base-554beb58dbfb0eccf4304fd5c58b0e2a9331bf27.tar.bz2 |
Write size of operators in writeToParcel()
- So that the operators are read correctly while reading
from parcel.
Bug: 21563489
Change-Id: Icb5571a261144810f075855372791d4291255eec
Diffstat (limited to 'telephony/java/com/android')
-rw-r--r-- | telephony/java/com/android/internal/telephony/CellNetworkScanResult.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/CellNetworkScanResult.java b/telephony/java/com/android/internal/telephony/CellNetworkScanResult.java index c708c14..5a6bd1d 100644 --- a/telephony/java/com/android/internal/telephony/CellNetworkScanResult.java +++ b/telephony/java/com/android/internal/telephony/CellNetworkScanResult.java @@ -88,6 +88,7 @@ public class CellNetworkScanResult implements Parcelable { public void writeToParcel(Parcel out, int flags) { out.writeInt(mStatus); if (mOperators != null && mOperators.size() > 0) { + out.writeInt(mOperators.size()); for (OperatorInfo network : mOperators) { network.writeToParcel(out, flags); } |