MCPcopy Create free account
hub / github.com/Snapchat/Valdi / bindAssetAttributes

Method bindAssetAttributes

valdi/src/valdi/android/NativeBridge.cpp:1766–1771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1764
1765jobject 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}

Callers

nothing calls this directly

Calls 1

getBindingContextWrapperFunction · 0.85

Tested by

no test coverage detected