Merge "Allow null current thread in jni weak ref decode during shutdown."