AndroidJNI.DetachCurrentThread
static function DetachCurrentThread(): int;
Description

Detaches the current thread from a Java (Dalvik) VM.

A thread must be detached from the VM before exiting.

See Also: Java Native Interface Specification (Oracle)