diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-08-15 18:50:50 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-08-15 18:50:50 +0000 |
commit | 446c55c4c4536186ec2c0781c52ac7d8435ae710 (patch) | |
tree | 2dda8c20c6c5babb1ea2f4fda02b47f8ec11c233 /service | |
parent | 40d7aae4a63aa88e9ea5ab0e3f0b893323204874 (diff) | |
parent | 3c1eeeabde6da336c5a576cc61c64f8d6348c161 (diff) |
Merge "Addition of HW Revision to Wifi Metrics"
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiMetrics.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiMetrics.java b/service/java/com/android/server/wifi/WifiMetrics.java index 1a7f1b8a8..1bcd22d0c 100644 --- a/service/java/com/android/server/wifi/WifiMetrics.java +++ b/service/java/com/android/server/wifi/WifiMetrics.java @@ -29,6 +29,8 @@ import android.net.wifi.hotspot2.PasspointConfiguration; import android.os.Handler; import android.os.Looper; import android.os.Message; +import android.os.SystemProperties; + import android.provider.Settings; import android.util.Base64; import android.util.Log; @@ -2304,6 +2306,7 @@ public class WifiMetrics { for (WifiIsUnusableWithTime event : mWifiIsUnusableList) { pw.println(event); } + pw.println("Hardware Version: " + SystemProperties.get("ro.boot.revision", "")); } } } @@ -2671,6 +2674,7 @@ public class WifiMetrics { for (int i = 0; i < mWifiIsUnusableList.size(); i++) { mWifiLogProto.wifiIsUnusableEventList[i] = mWifiIsUnusableList.get(i).event; } + mWifiLogProto.hardwareRevision = SystemProperties.get("ro.boot.revision", ""); } } |