Also copy-construct multinetwork policy preference

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - manual bluetooth tethering testing doesn't seem to trigger any
      actual tethering, since bt-pan interface keeps going down on
      test device (IpClient never really starts up fully)
Bug: 62476366
Bug: 113136023
Change-Id: I3265f60f8ae125eba4545cb652c95a2f70049058
This commit is contained in:
Erik Kline
2018-08-29 15:53:03 +09:00
parent ef7432f245
commit 397f8110b5

View File

@@ -431,6 +431,7 @@ public class IpClient extends StateMachine {
public ProvisioningConfiguration(ProvisioningConfiguration other) {
mEnableIPv4 = other.mEnableIPv4;
mEnableIPv6 = other.mEnableIPv6;
mUsingMultinetworkPolicyTracker = other.mUsingMultinetworkPolicyTracker;
mUsingIpReachabilityMonitor = other.mUsingIpReachabilityMonitor;
mRequestedPreDhcpActionMs = other.mRequestedPreDhcpActionMs;
mInitialConfig = InitialConfiguration.copy(other.mInitialConfig);