commit | 935cda47e5a43038208ee07322d3fe023c2feb18 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon May 17 23:18:47 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue May 18 17:53:00 2021 +0900 |
tree | a9c4b4c91163bb6f2d3442b838b0cf0a76c677c5 | |
parent | 2c6d14d6beaffe8b37c69f47b67efdc31ff00b51 [diff] |
Implement WifiNetworkSpecifier#redact. This is needed so that if an app files a NetworkRequest or NetworkCallback with a WifiNetworkSpecifier and null UIDs, sensitive information is redacted. Otherwise, the request could match WifiNetworkAgentSpecifier of a connected wifi network, and thus learn if a network is available that matches the specifier it constructed. Bug: 187921303 Test: atest WifiNetworkSpecifierTest#testRedact Change-Id: Ie0f1b6168854b93a456f33913f34a07ef601140b