Merge "Keep most recently connection network flag" into rvc-dev

This commit is contained in:
Nate Jiang
2020-03-25 18:10:13 +00:00
committed by Android (Google) Code Review

View File

@@ -2356,6 +2356,8 @@ public class WifiConfiguration implements Parcelable {
sbuf.append(" lcuid=" + lastConnectUid);
sbuf.append(" allowAutojoin=" + allowAutojoin);
sbuf.append(" noInternetAccessExpected=" + noInternetAccessExpected);
sbuf.append(" mostRecentlyConnected=" + isMostRecentlyConnected);
sbuf.append(" ");
if (this.lastConnected != 0) {
@@ -2964,4 +2966,11 @@ public class WifiConfiguration implements Parcelable {
return mPasspointUniqueId;
}
/**
* If network is one of the most recently connected.
* For framework internal use only. Do not parcel.
* @hide
*/
public boolean isMostRecentlyConnected = false;
}