diff options
author | Xiao Ma <xiaom@google.com> | 2020-04-16 16:20:25 +0900 |
---|---|---|
committer | Xiao Ma <xiaom@google.com> | 2020-04-20 22:52:11 +0900 |
commit | 43cbcaea68608c3a3af129ad4ec972de8aafd5c4 (patch) | |
tree | c3bfbe683973dcd1ff0df81404aad934850d30a9 /common/networkstackclient/src | |
parent | 039d7960521483346382ca244d501fa136935d9e (diff) |
Get the l2key and grouphint from the initial provisioning configuration.
The purpose of processing CMD_UPDATE_L2INFO command in the Stopped
State is just to update the initial l2key and grouphint which are
used when starting DhcpClient (e.g. for INIT-REBOOT). We can get
both of l2key and groupHint from the initial prov configuration
parcelable instead, then be able to delete CMD_UPDATE_L2INFO from
the StoppedState.
Bug: 154441742
Test: atest FrameworksNetTests NetworkStackTests
Test: atest NetworkStackIntegrationTests
Change-Id: I760957017b18975be969a2f519ec09ee4495ebad
Diffstat (limited to 'common/networkstackclient/src')
-rw-r--r-- | common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl b/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl index 9fcb036..9bf4197 100644 --- a/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl +++ b/common/networkstackclient/src/android/net/ProvisioningConfigurationParcelable.aidl @@ -18,6 +18,7 @@ package android.net; import android.net.InitialConfigurationParcelable; +import android.net.Layer2InformationParcelable; import android.net.Network; import android.net.ScanResultInfoParcelable; import android.net.StaticIpConfiguration; @@ -38,4 +39,5 @@ parcelable ProvisioningConfigurationParcelable { String displayName; boolean enablePreconnection; ScanResultInfoParcelable scanResultInfo; + Layer2InformationParcelable layer2Info; } |