Loading wifi/java/android/net/wifi/WifiConfiguration.java +10 −0 Original line number Diff line number Diff line Loading @@ -433,6 +433,13 @@ public class WifiConfiguration implements Parcelable { */ public int dtimInterval = 0; /** * Flag indicating if this configuration represents a legacy Passpoint configuration * (Release N or older). This is used for migrating Passpoint configuration from N to O. * This will no longer be needed after O. * @hide */ public boolean isLegacyPasspointConfig = false; /** * @hide * Uid of app creating the configuration Loading Loading @@ -1961,6 +1968,7 @@ public class WifiConfiguration implements Parcelable { mCachedConfigKey = null; //force null configKey selfAdded = source.selfAdded; validatedInternetAccess = source.validatedInternetAccess; isLegacyPasspointConfig = source.isLegacyPasspointConfig; ephemeral = source.ephemeral; meteredHint = source.meteredHint; meteredOverride = source.meteredOverride; Loading Loading @@ -2037,6 +2045,7 @@ public class WifiConfiguration implements Parcelable { dest.writeInt(selfAdded ? 1 : 0); dest.writeInt(didSelfAdd ? 1 : 0); dest.writeInt(validatedInternetAccess ? 1 : 0); dest.writeInt(isLegacyPasspointConfig ? 1 : 0); dest.writeInt(ephemeral ? 1 : 0); dest.writeInt(meteredHint ? 1 : 0); dest.writeInt(meteredOverride ? 1 : 0); Loading Loading @@ -2103,6 +2112,7 @@ public class WifiConfiguration implements Parcelable { config.selfAdded = in.readInt() != 0; config.didSelfAdd = in.readInt() != 0; config.validatedInternetAccess = in.readInt() != 0; config.isLegacyPasspointConfig = in.readInt() != 0; config.ephemeral = in.readInt() != 0; config.meteredHint = in.readInt() != 0; config.meteredOverride = in.readInt() != 0; Loading Loading
wifi/java/android/net/wifi/WifiConfiguration.java +10 −0 Original line number Diff line number Diff line Loading @@ -433,6 +433,13 @@ public class WifiConfiguration implements Parcelable { */ public int dtimInterval = 0; /** * Flag indicating if this configuration represents a legacy Passpoint configuration * (Release N or older). This is used for migrating Passpoint configuration from N to O. * This will no longer be needed after O. * @hide */ public boolean isLegacyPasspointConfig = false; /** * @hide * Uid of app creating the configuration Loading Loading @@ -1961,6 +1968,7 @@ public class WifiConfiguration implements Parcelable { mCachedConfigKey = null; //force null configKey selfAdded = source.selfAdded; validatedInternetAccess = source.validatedInternetAccess; isLegacyPasspointConfig = source.isLegacyPasspointConfig; ephemeral = source.ephemeral; meteredHint = source.meteredHint; meteredOverride = source.meteredOverride; Loading Loading @@ -2037,6 +2045,7 @@ public class WifiConfiguration implements Parcelable { dest.writeInt(selfAdded ? 1 : 0); dest.writeInt(didSelfAdd ? 1 : 0); dest.writeInt(validatedInternetAccess ? 1 : 0); dest.writeInt(isLegacyPasspointConfig ? 1 : 0); dest.writeInt(ephemeral ? 1 : 0); dest.writeInt(meteredHint ? 1 : 0); dest.writeInt(meteredOverride ? 1 : 0); Loading Loading @@ -2103,6 +2112,7 @@ public class WifiConfiguration implements Parcelable { config.selfAdded = in.readInt() != 0; config.didSelfAdd = in.readInt() != 0; config.validatedInternetAccess = in.readInt() != 0; config.isLegacyPasspointConfig = in.readInt() != 0; config.ephemeral = in.readInt() != 0; config.meteredHint = in.readInt() != 0; config.meteredOverride = in.readInt() != 0; Loading