commit | d6d560ff6eadeb25cd61af989ff5928deee63f94 | [log] [tgz] |
---|---|---|
author | Quang Luong <qal@google.com> | Tue Apr 04 00:19:52 2023 +0000 |
committer | Quang Luong <qal@google.com> | Tue Apr 04 00:55:13 2023 +0000 |
tree | d142b793828a415efb25474199289af79b3c1930 | |
parent | 17e504f6a84e2a1631c756f5f4a3612109f78bb2 [diff] |
Don't overwrite security params when editing saved config WifiConfigController2 sets the security params of a saved config, which may overwrite @hide fields like SecurityParams#mIsAddedByAutoUpgrade. To prevent this, only set the security params for a new config, and use the existing security params for existing configs. Bug: 262312532 Test: atest WifiConfigController2Test Change-Id: I9ef5eb8ce2b4208e1fad27bd68fc4f0fad7d1008