summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorEcco Park <eccopark@google.com>2018-10-01 23:13:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-10-01 23:13:48 +0000
commitc63c591eb903572d501b111464af2025cab75fd5 (patch)
treead9c9b5d31d0cb15e42de4580c8facd8e7db2bfb /service
parent6658b63d37cc56976d78556355a52dc696c08f88 (diff)
parent9705284f81bd17b172f8958fe69d83b856fa35a3 (diff)
Merge "passpoint-r2: add the ANQP IE dump in ANQP cache dump."
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/hotspot2/ANQPData.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/hotspot2/ANQPData.java b/service/java/com/android/server/wifi/hotspot2/ANQPData.java
index 6dbbe8ac0..26286a881 100644
--- a/service/java/com/android/server/wifi/hotspot2/ANQPData.java
+++ b/service/java/com/android/server/wifi/hotspot2/ANQPData.java
@@ -73,7 +73,10 @@ public class ANQPData {
sb.append(mANQPElements.size()).append(" elements, ");
long now = mClock.getElapsedSinceBootMillis();
sb.append(" expires in ").append(Utils.toHMS(mExpiryTime - now)).append(' ');
- sb.append(expired(now) ? 'x' : '-');
+ sb.append(expired(now) ? 'x' : '-').append("\n");
+ for (Map.Entry<Constants.ANQPElementType, ANQPElement> entry: mANQPElements.entrySet()) {
+ sb.append(entry.getValue()).append("\n");
+ }
return sb.toString();
}
}