commit | dcd4c584a14c78d5a9361bd265d2a6c67a7f49a2 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Jul 12 13:13:05 2019 -0700 |
committer | John Reck <jreck@google.com> | Mon Jul 15 09:49:32 2019 -0700 |
tree | 54f3d13f767c5f9dca4699b4e8e5c27d292b42cc | |
parent | 021598cbe7aadac9583860c7fa11853e95046138 [diff] |
Fix JNI usage bugs. Avoids calling other JNI stuff with a pending exception by ensuring methods return after jniThrowException. Bug: 137323248 Test: app in bug doesn't throw JNI DETECTED ERROR IN APPLICATION: JNI NewDirectByteBuffer called with pending exception java.lang.UnsupportedOperationException: Pixel format: 0x1 is unsupported 2 Change-Id: Id06cb476a02c4180881772708e3bb58511efe573