commit | f6a85eb33c2683c54df9be620a47de7465fc018c | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Fri Mar 25 10:49:43 2016 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Fri Mar 25 13:29:58 2016 -0700 |
tree | 546dac6ab805cbf910a2d782657ed8aa7bd6e840 | |
parent | fad7689ddb296e3a193e051319fe34cc7c99b58d [diff] |
Fix CA cert tests There were two issues with the current test: 1) Apps targeting N that want to trust the user added CA store must opt-into it with a Network Security Config. 2) The test relied on TrustManagers seeing updates to the user CA store, this isn't really the case (yet) so take advantage of a testApi to inform the NetworkSecurityConfig of a trusted storage change. Bug:27526668 Change-Id: If1d425746379fde86e8da8a70e27fa6254671066