| 106 | } |
| 107 | |
| 108 | ::djinni::LocalRef<jobject> sGetRuntimeAttachedObject(Valdi::Runtime* runtime) { |
| 109 | auto* runtimeListener = dynamic_cast<ValdiAndroid::RuntimeListener*>(runtime->getListener().get()); |
| 110 | if (runtimeListener == nullptr) { |
| 111 | return ::djinni::LocalRef<jobject>(); |
| 112 | } |
| 113 | |
| 114 | return runtimeListener->getAttachedObject().get(); |
| 115 | } |
| 116 | |
| 117 | // NOLINTNEXTLINE |
| 118 | jint ValdiAndroid::NativeBridge::getBuildOptions(fbjni::alias_ref<fbjni::JClass> /* clazz */) { |
no test coverage detected