commit | a7ec12f7efc032211e54aa1ce28c698413f02b8d | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Sep 11 12:33:00 2019 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Mon Sep 16 16:29:58 2019 -0400 |
tree | da3ec860c6f4c2d898785540be5da747f563099b | |
parent | 081deafca597c61d4e7e73083ff685e64034c9cc [diff] |
Fix AnimatedImageDrawables using ByteBuffers Bug: 140715166 Test: I56dc6e9865c2701746c95ea584bcc70fe4d62a6c AnimatedImageDrawable, when created from a ByteBuffer, needs to get a pointer to the JNI interface in order to read the ByteBuffer (or byte[]). But the AnimatedImageThread is not attached to the JVM. Attach it as necessary. Change-Id: I51b69b5b70f8c5865d5e5ed065e42267fa556202