commit | 557f76b39a22e499e4e59d527d2c086450012b8c | [log] [tgz] |
---|---|---|
author | Nate Jiang <qiangjiang@google.com> | Fri Mar 13 17:52:41 2020 -0700 |
committer | Nate Jiang <qiangjiang@google.com> | Tue Mar 24 23:02:36 2020 -0700 |
tree | 298079fbf961d736733ca9e33efa4b5f4e3cbdeb | |
parent | 74377eb2745fb1b2b512d7fb421b27dd8945d39d [diff] |
Use a LRU to in memory store the network connection order In memory use a LRU to determine the network connection order for non-passpoint network. And persist a bool on the disk, only set 16(or whatever overlay config) most recently connected network to true. Bug: 150799593 Test: atest com.android.server.wifi Change-Id: Ic4594810409fbfe91e0c7d840d8a6d9f571e184f