| 1764 | |
| 1765 | jobject ValdiAndroid::NativeBridge::getRuntimeAttachedObjectFromContext( // NOLINT |
| 1766 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
| 1767 | jlong contextHandle) { |
| 1768 | auto context = getContext(contextHandle); |
| 1769 | if (context == nullptr || context->getRuntime() == nullptr) { |
| 1770 | return nullptr; |
| 1771 | } |
| 1772 | |
| 1773 | return sGetRuntimeAttachedObject(context->getRuntime()).release(); |
| 1774 | } |
nothing calls this directly
no test coverage detected