summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-04-21 15:17:24 -0700
committerAlex Klyubin <klyubin@google.com>2015-04-24 10:54:45 -0700
commitad9ba10ecda10c14e46d00f40fc3e431cc2d9bc2 (patch)
tree2c1234ccb7344f0a70d62e3e6b9066158c508e85 /rs/java/android/renderscript/RenderScript.java
parent71223ebe1b2264b7463a02c8dafd779eb3b8c210 (diff)
No runtime exceptions during normal use of AndroidKeyStore crypto.
This changes the implementation of AndroidKeyStore-backed Cipher and Mac to avoid throwing runtime exceptions during normal use. Runtime exceptions will now be thrown only due to truly exceptional and unrecoverable errors (e.g., keystore unreachable, or crypto primitive not initialized). This also changes the implementation of Cipher to cache any errors encountered in Cipher.update until Cipher.doFinal which then throws them as checked exceptions. Bug: 20525947 Change-Id: I3c4ad57fe70abfbb817a79402f722a0208660727
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions