diff options
author | Ecco Park <eccopark@google.com> | 2018-10-01 23:13:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-10-01 23:13:48 +0000 |
commit | c63c591eb903572d501b111464af2025cab75fd5 (patch) | |
tree | ad9c9b5d31d0cb15e42de4580c8facd8e7db2bfb /service | |
parent | 6658b63d37cc56976d78556355a52dc696c08f88 (diff) | |
parent | 9705284f81bd17b172f8958fe69d83b856fa35a3 (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.java | 5 |
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(); } } |