summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvandwalle <vandwalle@google.com>2014-08-27 01:00:11 -0700
committerPierre Vandwalle <vandwalle@google.com>2014-08-27 08:16:31 +0000
commitb1dce0220bec5d81dca0aac645d84854ef4324cb (patch)
tree4382ba5444aef8ded1d765820c5b19a5aae2b024
parent80e29b66c5966f6af77e7404ab4b6321ef5cf23b (diff)
downloadframeworks_base-b1dce0220bec5d81dca0aac645d84854ef4324cb.zip
frameworks_base-b1dce0220bec5d81dca0aac645d84854ef4324cb.tar.gz
frameworks_base-b1dce0220bec5d81dca0aac645d84854ef4324cb.tar.bz2
fix ScanResult read from parcel, this function was broken and causes wifi settings to crash
Bug: 17293156 Change-Id: I5f7a8141adb21103e98913c9802d8364164eaba7
-rw-r--r--wifi/java/android/net/wifi/ScanResult.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/ScanResult.java b/wifi/java/android/net/wifi/ScanResult.java
index a280348..e80a8f4 100644
--- a/wifi/java/android/net/wifi/ScanResult.java
+++ b/wifi/java/android/net/wifi/ScanResult.java
@@ -354,6 +354,7 @@ public class ScanResult implements Parcelable {
sr.autoJoinStatus = in.readInt();
sr.untrusted = in.readInt() != 0;
sr.numConnection = in.readInt();
+ sr.numUsage = in.readInt();
int n = in.readInt();
if (n != 0) {
sr.informationElements = new InformationElement[n];