diff options
author | Roshan Pius <rpius@google.com> | 2018-11-08 07:28:25 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2018-11-16 12:13:39 -0800 |
commit | db99b31cfa48ebfdaa711bd0c18d589a6b7cede1 (patch) | |
tree | 1721df7415377ceea86d1684e89858e2beef35ce /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dc69f46807d4df36ae0246dc3b25fe31476b61f3 (diff) |
WifiConfiguration: Add a field to mark network as trusted
The |ephemeral| field (added for WFA) is currently used for 2 purposes:
a) Network is not persisted & network config
is automatically removed at the end of the connection.
b) Network is marked untrusted (in NetworkInfo capabilities) after connection.
For the new network request API, we want (a), but not (b) (Network should
be marked trusted because user explicitly allowed it).
Add a new flag to explicitly mark the network as trusted or not. Hence
(a) & (b) are now indicated by different flags.
Bug: 113878056
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: If4da84ca4fc03fd6a835b71a3e18e966c3b11f05
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions