OSDN Git Service

Use NoPreloadHolder for certificate sources
authorChad Brubaker <cbrubaker@google.com>
Mon, 13 Jun 2016 22:51:40 +0000 (15:51 -0700)
committerChad Brubaker <cbrubaker@google.com>
Mon, 13 Jun 2016 22:51:40 +0000 (15:51 -0700)
commit319f9fe1024c3b9c941e6e4701f2d4ac651cb3da
tree0faab6a6a7fba498e49256708be919f45f988c42
parent7014eef54af5e0e4b28700ff69561a90090f1994
Use NoPreloadHolder for certificate sources

The static instances of SystemCertificateSource and
UserCertificateSource depend on the current user, avoid triggering their
static initializer when preloaded.

Bug: 29258379
Change-Id: I5088366ae67145b8bc928d6c04118529c82a7fc3
core/java/android/security/net/config/SystemCertificateSource.java
core/java/android/security/net/config/UserCertificateSource.java