summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiMetrics.java4
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 0b746196f..15f65c980 100644
--- a/service/java/com/android/server/wifi/WifiMetrics.java
+++ b/service/java/com/android/server/wifi/WifiMetrics.java
@@ -28,6 +28,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.util.Base64;
import android.util.Log;
import android.util.Pair;
@@ -2162,6 +2164,7 @@ public class WifiMetrics {
pw.println("mWifiLogProto.isMacRandomizationOn=" + mIsMacRandomizationOn);
pw.println("mWifiLogProto.scoreExperimentId=" + mWifiLogProto.scoreExperimentId);
+ pw.println("Hardware Version: " + SystemProperties.get("ro.boot.revision", ""));
}
}
}
@@ -2528,6 +2531,7 @@ public class WifiMetrics {
mWifiLogProto.wifiPowerStats = mWifiPowerMetrics.buildProto();
mWifiLogProto.wifiWakeStats = mWifiWakeMetrics.buildProto();
mWifiLogProto.isMacRandomizationOn = mIsMacRandomizationOn;
+ mWifiLogProto.hardwareRevision = SystemProperties.get("ro.boot.revision", "");
}
}