| 790 | jlong contextHandle, |
| 791 | jobject callback, |
| 792 | jboolean shouldFlushRenderRequests) { |
| 793 | auto context = getContext(contextHandle); |
| 794 | if (context == nullptr) { |
| 795 | return; |
| 796 | } |
| 797 | |
| 798 | if (callback == nullptr) { |
| 799 | context->waitUntilAllUpdatesCompletedSync(static_cast<bool>(shouldFlushRenderRequests)); |
| 800 | } else { |
| 801 | auto value = ValdiAndroid::valueFromJavaValdiFunction(ValdiAndroid::JavaEnv(), callback); |
| 802 | context->waitUntilAllUpdatesCompleted(value.getFunctionRef()); |
| 803 | } |
| 804 | } |
| 805 | |
| 806 | void ValdiAndroid::NativeBridge::onNextLayout( // NOLINT |
| 807 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
| 808 | jlong contextHandle, |
nothing calls this directly
no test coverage detected