Dump randomized MAC in bugreport

Needed for debug purposes.

Bug: 131850574
Test: unit tests
Test: verified with dumpsys wifi: "mRandomizedMacAddress: 42:03:7d:d0:0e:6c"

Change-Id: Icc3eed999849c58079c298452574f68b96ba7706
This commit is contained in:
xshu
2019-05-02 14:21:19 -07:00
parent 3f5447d8ae
commit 51ef178ca6

View File

@@ -1906,7 +1906,8 @@ public class WifiConfiguration implements Parcelable {
if (this.meteredOverride != METERED_OVERRIDE_NONE) {
sbuf.append(" meteredOverride ").append(meteredOverride).append("\n");
}
sbuf.append(" macRandomizationSetting ").append(macRandomizationSetting).append("\n");
sbuf.append(" macRandomizationSetting: ").append(macRandomizationSetting).append("\n");
sbuf.append(" mRandomizedMacAddress: ").append(mRandomizedMacAddress).append("\n");
sbuf.append(" KeyMgmt:");
for (int k = 0; k < this.allowedKeyManagement.size(); k++) {
if (this.allowedKeyManagement.get(k)) {