summaryrefslogtreecommitdiff
path: root/toolkit/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-06-18 22:02:57 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-06-18 22:38:30 +0300
commit8dd75128a5a7e068ae63f3d1cc6b41410f7d7122 (patch)
tree5e6cda3558ffd41b3ebd1134d99251daa4ac8969 /toolkit/inc
parent36244dcfa196c27a23a6eb4b20cc0b62507f6ed0 (diff)
ByteBufferWrapper tweaks
operator() gets called in a Java GC thread. A JNIEnv* saved in the constructor (which is called from the UI thread) is not valid in other threads (although for now, Dalvik notices, warns, and works around it). So don't bother keeping the JNIEnv*. Instead fetch one when needed. Move the method implementations from inline in the header to libotouch's android.cxx. Change-Id: I7de6fc54bb8d9a59146576d6e8c325fe917393ee
Diffstat (limited to 'toolkit/inc')
0 files changed, 0 insertions, 0 deletions