summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorSergio Giro <sgiro@google.com>2016-05-17 16:52:33 +0100
committerNeil Fuller <nfuller@google.com>2016-05-19 16:42:19 +0000
commit69de32071c8ca7fa2277e4340a320b7df6fe963d (patch)
tree9375b487f6935b74f1f7da990d7816c74d14937f /rs/java/android/renderscript/RenderScript.java
parent005f9a73fbecdb8d0d05eb699d0f02d745110495 (diff)
ZygoteInit: install AndroidKeyStoreProvider in the Zygote
Instead of in activity thread. That way, we can warm up (ie, precompute cached values) this provider and AndroidBCWorkaroundProvider (which are installed together) so that the computation doesn't happen in the app. As a result, the time spent in the first call to SSLSocketFactory.getDefault() decreases by ~5ms in angler userdebug. Measured with an app calling SSLSocketFactory.getDefault in onCreate and timed it with System.currentTimeMillis() . Bug: 28545496 Change-Id: I73284eccdf6d51dbf55206335d759ccf795c5f41
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions