diff options
author | Hai Shalom <haishalom@google.com> | 2019-03-07 16:01:23 -0800 |
---|---|---|
committer | Hai Shalom <haishalom@google.com> | 2019-03-15 13:47:02 -0700 |
commit | ae8eb88f2f339796cbf5b007cc7c84255ef3ad2d (patch) | |
tree | 7f0bb7bc08910c86d43af8802313156dcb316d29 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0afbc9f0a3e01eba8740232c6cc1f70a9b231ce2 (diff) |
[Wi-Fi] Do not delete certs when forgetting network
Deleting EAP Wi-Fi configuration deletes shared credentials used by other
configs. To resolve this issue the following changes were implemented:
1. When manually adding Wi-Fi certs from storage, Wi-Fi will not attempt
to delete them when network is removed.
2. When apps use WifiEnterpriseConfig#setClientKeyEntry to add certs,
they will be deleted if the network is removed.
3. Allow the user to delete Wi-Fi certs the same way that allows the
user to add them. Make the "Remove" option available, and implement key
store removal in settings.
Bug: 30248175
Test: atest WifiEnterpriseConfigTest
Test: Load certs, remove certs from credentials menu
Test: Load cert, create 2 EAP networks that use it, forget one network
Change-Id: I5bb1a1e02437b4db4a9c0a289acc074c30a786ab
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions