store the hw addr in the extraInfo field of ethernet NetworkInfos am: b1a238dbb3

Original change: undetermined

Change-Id: I823f42e0b7ab59c511e27e2d5a51bbb1a90047fc
This commit is contained in:
Doug Zongker
2021-05-31 12:15:53 +00:00
committed by Automerger Merge Worker

View File

@@ -350,6 +350,18 @@ public class NetworkInfo implements Parcelable {
} }
} }
/**
* Set the extraInfo field.
* @param extraInfo an optional {@code String} providing addditional network state
* information passed up from the lower networking layers.
* @hide
*/
public void setExtraInfo(String extraInfo) {
synchronized (this) {
this.mExtraInfo = extraInfo;
}
}
/** /**
* Report the reason an attempt to establish connectivity failed, * Report the reason an attempt to establish connectivity failed,
* if one is available. * if one is available.