commit | 25a4ec359202a6a038b2f675684090c229cf317b | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Wed Nov 28 12:51:55 2018 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Wed Nov 28 06:16:38 2018 +0000 |
tree | 465daddd578dc3ca39d2d2977aa39b33cd19b54f | |
parent | 67c6ab38ba1b6dbdae46a4425dd66bb9147374c0 [diff] |
Update LinkProperties to NetworkAgentInfo only when it's changed In previous design, it will always assign newLp to nai in handleUpdateLinkProperties(). And Private dns configuration will be missing when the same LinkProperties are updated because the updated LinkProperties is not assigned back to NetworkAgentInfo. Bug: 118518971 Test: 1.Build pass. 2.runtest frameworks-net Change-Id: I405c8f29497fec438082a2cf30eb5c7b9497e1c4