diff options
author | Chad Brubaker <cbrubaker@google.com> | 2016-03-25 10:12:19 -0700 |
---|---|---|
committer | Chad Brubaker <cbrubaker@google.com> | 2016-03-25 14:48:44 -0700 |
commit | bf9a82a6433701aa2f02761f3a7c425ffef4fa09 (patch) | |
tree | ccf4acc0a984848ac438104d20014a036e6cc2e9 /tests/NetworkSecurityConfigTest/src | |
parent | 822de0d90cb4d76d5a8bd655f3c9a94f9bc25d7a (diff) |
Add handleTrustStorageUpdate
This pruns all the stored trusted issuers so that changes to the system
or user CA store are detected. Currently this is only exposed as a
TestApi, but it can be hooked up to the trusted storage change event
in a future commit.
Bug: 27526668
Change-Id: Ic426254babab9a3177c968bc05b45e95eaac1fdd
Diffstat (limited to 'tests/NetworkSecurityConfigTest/src')
-rw-r--r-- | tests/NetworkSecurityConfigTest/src/android/security/net/config/TestCertificateSource.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestCertificateSource.java b/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestCertificateSource.java index 4c12c2d5da7c..0412bc74df6e 100644 --- a/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestCertificateSource.java +++ b/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestCertificateSource.java @@ -65,4 +65,9 @@ public class TestCertificateSource implements CertificateSource { } return certs; } + + @Override + public void handleTrustStorageUpdate() { + // Nothing to do. + } } |