| 488 | } |
| 489 | |
| 490 | jobject ValdiAndroid::NativeBridge::getViewNodeBackingView( // NOLINT |
| 491 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
| 492 | jlong viewNodeHandle) { |
| 493 | auto viewNode = getViewNode(viewNodeHandle); |
| 494 | if (viewNode == nullptr) { |
| 495 | return nullptr; |
| 496 | } |
| 497 | |
| 498 | auto view = viewNode->getViewAndDisablePooling(); |
| 499 | |
| 500 | if (view == nullptr) { |
| 501 | return nullptr; |
| 502 | } |
| 503 | |
| 504 | return ValdiAndroid::javaObjectFromValdiObject(view, true).releaseObject(); |
| 505 | } |
| 506 | |
| 507 | void doSetRootViewToContext(jlong contextHandle, const Valdi::Ref<Valdi::View>& rootView) { |
| 508 | auto viewNodeTree = getViewNodeTree(contextHandle); |
nothing calls this directly
no test coverage detected