commit | e350c772e852529892600898fd9b888d38a446ba | [log] [tgz] |
---|---|---|
author | Nate Jiang <qiangjiang@google.com> | Thu May 20 17:37:36 2021 -0700 |
committer | Nate Jiang <qiangjiang@google.com> | Thu May 20 19:23:01 2021 -0700 |
tree | 21c927ed7aa9789222e894eedcaeb69ec9ec21d7 | |
parent | 4845978f5e863f3b29b56c3d2120d6833952e2d4 [diff] |
Change API used to check the mainline module version getModuleInfo returns the information from the modulemetadata module, which may by empty on some build. Instead, switch to calling getInstalledModules, which returns what is actually installed on the device. Bug: 188168360 Test: cts WifiNetworkSpecifierTest Change-Id: Iea0bde8f95762b7d514ab924b204b6b1865ac25c