| 440 | Valdi::Value parameter; |
| 441 | if (!result) { |
| 442 | parameter = Valdi::Value(result.error()); |
| 443 | } |
| 444 | |
| 445 | (*completionConverted.getFunction())(¶meter, 1); |
| 446 | }); |
| 447 | } |
| 448 | |
| 449 | jobject ValdiAndroid::NativeBridge::createContext( // NOLINT |
| 450 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
| 451 | jlong handle, |
| 452 | jstring componentPath, |
| 453 | jobject viewModel, |
| 454 | jobject componentContext, |
| 455 | jboolean useSnapDrawing) { |
| 456 | auto* wrapper = getRuntimeWrapper(handle); |
| 457 | if (wrapper == nullptr) { |
| 458 | return nullptr; |
| 459 | } |
| 460 | |
| 461 | auto* runtime = &wrapper->getRuntime(); |
| 462 |
nothing calls this directly
no test coverage detected