commit | 8f7bc647b55251e9897177b1bccc6649766253a8 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Jan 16 15:27:27 2019 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Jan 16 15:27:27 2019 +0900 |
tree | 2d6dfb6565696f812141636e21aaa8fcffb55544 | |
parent | 981b34f6b84b557943e2735717a2ecb7adc73521 [diff] |
Add Nat64Prefix to LinkProperties copy constructor The attribute is copied when parceling/unparceling so should also be preserved in the copy constructor. Test: tests based on this pass Change-Id: Ia48d94fc075e6414f537dad181a236be5a32b41b
diff --git a/core/java/android/net/LinkProperties.java b/core/java/android/net/LinkProperties.java index 617125b..c2963fd 100644 --- a/core/java/android/net/LinkProperties.java +++ b/core/java/android/net/LinkProperties.java
@@ -191,6 +191,7 @@ } setMtu(source.mMtu); mTcpBufferSizes = source.mTcpBufferSizes; + mNat64Prefix = source.mNat64Prefix; } }